summaryrefslogtreecommitdiff
path: root/src/pgtkfns.c
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-06-14 00:07:48 +0900
committerYuuki Harano <masm+github@masm11.me>2021-06-14 00:07:48 +0900
commitb0d688673b0be774c3735eef304f69568bd59bcf (patch)
tree38629672102b31bb38a855f24d4dd009e212c10d /src/pgtkfns.c
parentbeb4e9f828af4fd8ed9b553ee9516744c2e69ad3 (diff)
downloademacs-b0d688673b0be774c3735eef304f69568bd59bcf.tar.gz
Revert "* src/pgtkfns.c: Do not show an empty frame prematurely"
This reverts commit 83c35b86da233870231e30d114ffa4640eb10081.
Diffstat (limited to 'src/pgtkfns.c')
-rw-r--r--src/pgtkfns.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index 0f9f2e4c83f..ceff279ad02 100644
--- a/src/pgtkfns.c
+++ b/src/pgtkfns.c
@@ -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);