]> git.eshelyaron.com Git - emacs.git/commitdiff
(xg_create_frame_widgets): If frame is embedded, call
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 7 Feb 2008 14:07:55 +0000 (14:07 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 7 Feb 2008 14:07:55 +0000 (14:07 +0000)
gtk_plug_new.

src/gtkutil.c

index 487e24dfa8a8617f9f872f372af5f7cf984de921..d3a0c7e7596626414691ce37f0bd123a95a1ae47 100644 (file)
@@ -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);