[Telepathy-commits] [telepathy-gabble/master] tube-dbus: add tube-offered signal

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Jan 12 04:29:58 PST 2009


---
 src/tube-dbus.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/tube-dbus.c b/src/tube-dbus.c
index be8c7b1..c662af6 100644
--- a/src/tube-dbus.c
+++ b/src/tube-dbus.c
@@ -62,6 +62,7 @@ enum
 {
   OPENED,
   CLOSED,
+  OFFERED,
   LAST_SIGNAL
 };
 
@@ -856,6 +857,15 @@ gabble_tube_dbus_class_init (GabbleTubeDBusClass *gabble_tube_dbus_class)
                   NULL, NULL,
                   gabble_marshal_VOID__VOID,
                   G_TYPE_NONE, 0);
+
+  signals[CLOSED] =
+    g_signal_new ("tube-offered",
+                  G_OBJECT_CLASS_TYPE (gabble_tube_dbus_class),
+                  G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
+                  0,
+                  NULL, NULL,
+                  gabble_marshal_VOID__VOID,
+                  G_TYPE_NONE, 0);
 }
 
 static void
-- 
1.5.6.5




More information about the Telepathy-commits mailing list