Emit GtkPlug::embedded signal when plug/socket are in the same process too

Fixes bug #609650.
This commit is contained in:
Carlos Garcia Campos 2010-02-11 15:34:45 +01:00 committed by Tristan Van Berkom
parent 7835a51040
commit 576f2770c7

View File

@ -327,6 +327,8 @@ _gtk_plug_add_to_socket (GtkPlug *plug,
plug->socket_window = GTK_WIDGET (socket_)->window;
g_object_ref (plug->socket_window);
g_signal_emit (plug, plug_signals[EMBEDDED], 0);
g_object_notify (G_OBJECT (plug), "embedded");
if (GTK_WIDGET_REALIZED (widget))
{