[gtk+/gtk-2-18] Emit GtkPlug::embedded signal when plug/socket are in the same process too
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-18] Emit GtkPlug::embedded signal when plug/socket are in the same process too
- Date: Fri, 12 Mar 2010 23:02:36 +0000 (UTC)
commit 1a5d7d968f3ccdbfda11d21ada72c350916a9d3f
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.
(cherry picked from commit e5fc3dcf6439d0e48349cb503666d392151ed6f4)
gtk/gtkplug.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c
index 3b1af66..c50bdf6 100644
--- a/gtk/gtkplug.c
+++ b/gtk/gtkplug.c
@@ -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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]