[gtk+/native-layout] Emit GtkPlug::embedded signal when plug/socket are in the same process too
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Emit GtkPlug::embedded signal when plug/socket are in the same process too
- Date: Sun, 4 Apr 2010 02:29:07 +0000 (UTC)
commit 576f2770c7a40b0a9fa468d290c5e9473940ef04
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Thu Feb 11 15:34:45 2010 +0100
Emit GtkPlug::embedded signal when plug/socket are in the same process too
Fixes bug #609650.
gtk/gtkplug.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c
index 8c5547f..b2514fc 100644
--- a/gtk/gtkplug.c
+++ b/gtk/gtkplug.c
@@ -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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]