[Telepathy-commits] [telepathy-gabble/master] bytestream-iface: add write-blocked signal

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Dec 15 09:51:08 PST 2008


---
 src/bytestream-iface.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/bytestream-iface.c b/src/bytestream-iface.c
index 0577eab..482ba8a 100644
--- a/src/bytestream-iface.c
+++ b/src/bytestream-iface.c
@@ -149,6 +149,14 @@ gabble_bytestream_iface_base_init (gpointer klass)
           gabble_marshal_VOID__UINT,
           G_TYPE_NONE, 1, G_TYPE_UINT);
 
+      g_signal_new ("write-blocked",
+          G_TYPE_FROM_INTERFACE (klass),
+          G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
+          0,
+          NULL, NULL,
+          g_cclosure_marshal_VOID__BOOLEAN,
+          G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+
       initialized = TRUE;
     }
 }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list