Index: gtk/gtkplug.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkplug.c,v
retrieving revision 1.79
diff -p -u -B -r1.79 gtkplug.c
--- gtk/gtkplug.c	22 Dec 2006 07:18:20 -0000	1.79
+++ gtk/gtkplug.c	22 Dec 2006 20:23:11 -0000
@@ -422,8 +424,11 @@ gtk_plug_construct_for_display (GtkPlug 
 	    }
 	}
 
-      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 +521,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)
