From 0f0d223bea95377311262049f6ee6aebb82cc3bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 7 Feb 2008 14:07:55 +0000 Subject: [PATCH] (xg_create_frame_widgets): If frame is embedded, call gtk_plug_new. --- src/gtkutil.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gtkutil.c b/src/gtkutil.c index 487e24dfa8a..d3a0c7e7596 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -786,7 +786,11 @@ xg_create_frame_widgets (f) BLOCK_INPUT; - wtop = gtk_window_new (GTK_WINDOW_TOPLEVEL); + if (FRAME_X_EMBEDDED_P (f)) + wtop = gtk_plug_new (f->output_data.x->parent_desc); + else + wtop = gtk_window_new (GTK_WINDOW_TOPLEVEL); + xg_set_screen (wtop, f); wvbox = gtk_vbox_new (FALSE, 0); -- 2.39.5