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
parent eaf2549be2
commit e5fc3dcf64

View File

@ -326,6 +326,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))
{