]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "* src/pgtkfns.c: Do not show an empty frame prematurely"
authorYuuki Harano <masm+github@masm11.me>
Sun, 13 Jun 2021 15:07:48 +0000 (00:07 +0900)
committerYuuki Harano <masm+github@masm11.me>
Sun, 13 Jun 2021 15:07:48 +0000 (00:07 +0900)
This reverts commit 83c35b86da233870231e30d114ffa4640eb10081.

src/pgtkfns.c

index 0f9f2e4c83f5ea1d6a6ae456ece94cfaae64bcf2..ceff279ad02d51897896a2c358c187b862aaf303 100644 (file)
@@ -1693,13 +1693,8 @@ This function is an internal primitive--use `make-frame' instead.  */ )
       unblock_input ();
     }
 
-  if (FRAME_GTK_OUTER_WIDGET (f)) {
-    GList *w = gtk_container_get_children(GTK_CONTAINER(FRAME_GTK_OUTER_WIDGET (f)));
-    for (; w != NULL; w = w->next)
-      {
-       gtk_widget_show_all (GTK_WIDGET(w->data));
-      }
-  }
+  if (FRAME_GTK_OUTER_WIDGET (f))
+    gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f));
 
   gui_default_parameter (f, parms, Qno_focus_on_map, Qnil,
                         NULL, NULL, RES_TYPE_BOOLEAN);