/soc/2013/ankitkv/gobjectification: c0c115e985e2: Connect signal...
Ankit Vani
a at nevitus.org
Sun Aug 11 17:24:22 EDT 2013
Changeset: c0c115e985e25b54cf7eaabdf9337920e3909622
Author: Ankit Vani <a at nevitus.org>
Date: 2013-08-12 02:54 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/c0c115e985e2
Description:
Connect signals by protocol
diffstat:
libpurple/protocols/oscar/oscar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff --git a/libpurple/protocols/oscar/oscar.c b/libpurple/protocols/oscar/oscar.c
--- a/libpurple/protocols/oscar/oscar.c
+++ b/libpurple/protocols/oscar/oscar.c
@@ -745,8 +745,8 @@ oscar_login(PurpleAccount *account)
od->use_ssl = purple_ssl_is_supported() && strcmp(encryption_type, OSCAR_NO_ENCRYPTION) != 0;
/* Connect to core Purple signals */
- purple_prefs_connect_callback(gc, "/purple/away/idle_reporting", idle_reporting_pref_cb, gc);
- purple_prefs_connect_callback(gc, "/plugins/prpl/oscar/recent_buddies", recent_buddies_pref_cb, gc);
+ purple_prefs_connect_callback(purple_connection_get_protocol_info(gc), "/purple/away/idle_reporting", idle_reporting_pref_cb, gc);
+ purple_prefs_connect_callback(purple_connection_get_protocol_info(gc), "/plugins/prpl/oscar/recent_buddies", recent_buddies_pref_cb, gc);
/*
* On 2008-03-05 AOL released some documentation on the OSCAR protocol
More information about the Commits
mailing list