/soc/2015/nakulgulati/main: 599cd1bef4fb: hangouts: channel signals

Nakul at rock.pidgin.im Nakul at rock.pidgin.im
Thu Aug 20 20:45:39 EDT 2015


Changeset: 599cd1bef4fb7080ae9bc19168144609098920a8
Author:	 Nakul Gulati
Date:	 2015-08-21 06:14 +0530
Branch:	 hangouts
URL: https://hg.pidgin.im/soc/2015/nakulgulati/main/rev/599cd1bef4fb

Description:

hangouts: channel signals

diffstat:

 libpurple/protocols/hangouts/channel.c |  19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diffs (37 lines):

diff --git a/libpurple/protocols/hangouts/channel.c b/libpurple/protocols/hangouts/channel.c
--- a/libpurple/protocols/hangouts/channel.c
+++ b/libpurple/protocols/hangouts/channel.c
@@ -4,7 +4,6 @@
 #include "connection.h"
 #include "http.h"
 #include "http.c"
-#include "purple-socket.h"
 
 #include "channel.h"
 #include "api.h"
@@ -46,11 +45,21 @@ hangouts_channel_class_init (HangoutsCha
   g_class->dispose = hangouts_channel_dispose;
   g_type_class_add_private (g_class, sizeof(HangoutsChannelPrivate));
 
-  g_signal_new ("connect", G_TYPE_FROM_CLASS(klass), G_SIGNAL_ACTION, 0, NULL,
-		NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, NULL);
+  g_signal_new ("connect",
+		  G_TYPE_FROM_CLASS(klass),
+		  G_SIGNAL_ACTION, 0,
+		  NULL, NULL,
+		  g_cclosure_marshal_VOID__VOID,
+		  G_TYPE_NONE,
+		  NULL);
 
-  g_signal_new ("subscribe", G_TYPE_FROM_CLASS(klass), G_SIGNAL_ACTION, 0, NULL,
-		NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, NULL);
+  g_signal_new ("subscribe",
+  		  G_TYPE_FROM_CLASS(klass),
+  		  G_SIGNAL_ACTION, 0,
+  		  NULL, NULL,
+  		  g_cclosure_marshal_VOID__VOID,
+  		  G_TYPE_NONE,
+  		  NULL);
 }
 
 static void



More information about the Commits mailing list