]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/pgtkterm.c (x_set_parent_frame): Fix coding style
authorYuuki Harano <masm+github@masm11.me>
Mon, 6 Dec 2021 15:35:54 +0000 (00:35 +0900)
committerYuuki Harano <masm+github@masm11.me>
Mon, 6 Dec 2021 15:35:54 +0000 (00:35 +0900)
src/pgtkterm.c

index ed7a4a45c25b3e19b9e1370e3549f91d277085fa..4bfe2efbdc5fc80fce673991e0efa6d1eccdc188 100644 (file)
@@ -860,12 +860,13 @@ x_set_parent_frame (struct frame *f, Lisp_Object new_value,
 
       g_object_unref (fixed);
 
-      if (FRAME_GTK_OUTER_WIDGET (f)) {
-       if (EQ (x_gtk_resize_child_frames, Qresize_mode))
-         gtk_container_set_resize_mode
-           (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f)),
-            p ? GTK_RESIZE_IMMEDIATE : GTK_RESIZE_QUEUE);
-      }
+      if (FRAME_GTK_OUTER_WIDGET (f))
+       {
+         if (EQ (x_gtk_resize_child_frames, Qresize_mode))
+           gtk_container_set_resize_mode
+             (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f)),
+              p ? GTK_RESIZE_IMMEDIATE : GTK_RESIZE_QUEUE);
+       }
 
       unblock_input ();