mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Notify the "embedded" property also on normal construction and when
2006-12-25 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkplug.c: (gtk_plug_construct_for_display), (gtk_plug_unrealize): Notify the "embedded" property also on normal construction and when destroying the socket window. Bug #388738.
This commit is contained in:
parent
bcab1eb30b
commit
65832ae230
@ -1,3 +1,10 @@
|
||||
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
|
||||
|
||||
* gtk/gtkplug.c: (gtk_plug_construct_for_display),
|
||||
(gtk_plug_unrealize): Notify the "embedded" property also on
|
||||
normal construction and when destroying the socket window.
|
||||
Bug #388738.
|
||||
|
||||
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
|
||||
|
||||
* gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
|
||||
|
@ -422,8 +422,11 @@ gtk_plug_construct_for_display (GtkPlug *plug,
|
||||
}
|
||||
}
|
||||
|
||||
if (plug->socket_window)
|
||||
if (plug->socket_window) {
|
||||
g_signal_emit (plug, plug_signals[EMBEDDED], 0);
|
||||
|
||||
g_object_notify (G_OBJECT (plug), "embedded");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -493,6 +496,8 @@ gtk_plug_unrealize (GtkWidget *widget)
|
||||
gdk_window_set_user_data (plug->socket_window, NULL);
|
||||
g_object_unref (plug->socket_window);
|
||||
plug->socket_window = NULL;
|
||||
|
||||
g_object_notify (G_OBJECT (widget), "embedded");
|
||||
}
|
||||
|
||||
if (!plug->same_app)
|
||||
|
Loading…
Reference in New Issue
Block a user