gobjectification: 2ee71de4: A new 'connecting' signal for accounts.

sadrul at pidgin.im sadrul at pidgin.im
Wed Jul 14 03:14:13 EDT 2010


----------------------------------------------------------------------
Revision: 2ee71de4584d2360e9372660b697dca9957478ca
Parent:   83f5c5acb69db25d4b298ad6507466df8c458446
Author:   sadrul at pidgin.im
Date:     07/14/10 02:19:00
Branch:   im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/2ee71de4584d2360e9372660b697dca9957478ca

Changelog: 

A new 'connecting' signal for accounts.

Changes against parent 83f5c5acb69db25d4b298ad6507466df8c458446

  patched  libpurple/account.c

-------------- next part --------------
============================================================
--- libpurple/account.c	f9cdbd6d988f18c2a48baa1c279b732e8dfad93c
+++ libpurple/account.c	ed7a5d3a5333bc65542d50d4b04dad694038aa8e
@@ -441,6 +441,7 @@ enum
 	SIG_ENABLE_CHANGED,
 	SIG_SETTING_INFO,
 	SIG_SETTINGS_CHANGED,
+	SIG_CONNECTING,
 	SIG_LAST
 };
 static guint signals[SIG_LAST] = { 0, };
@@ -736,6 +737,14 @@ static void purple_account_class_init(Pu
 				g_cclosure_marshal_VOID__VOID,
 				G_TYPE_NONE, 0);
 
+	/* Emitted just before an account tries to get online. */
+	signals[SIG_CONNECTING] =
+		g_signal_new("connecting", PURPLE_TYPE_ACCOUNT,
+				G_SIGNAL_ACTION, 0, NULL, NULL,
+				purple_smarshal_VOID__OBJECT,
+				G_TYPE_NONE,
+				1, PURPLE_TYPE_CONNECTION);
+
 #warning TODO: Setup more signals
 
 	g_type_class_add_private(klass, sizeof(PurpleAccountPrivate));


More information about the Commits mailing list