Commit 65832ae2 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

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.
parent bcab1eb3
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment