libpurple/plugins/signals-test.c

branch
soc.2013.gobjectification.plugins
changeset 36637
9b0109ae118d
parent 36623
caaadef03507
child 36688
e49025233301
--- a/libpurple/plugins/signals-test.c	Sun Sep 01 05:01:14 2013 +0530
+++ b/libpurple/plugins/signals-test.c	Sun Sep 01 14:24:24 2013 +0530
@@ -682,7 +682,7 @@
 			xmlnode_free(iq);
 	}
 
-	/* Cookie monster eats IQ stanzas; the prpl shouldn't keep processing */
+	/* Cookie monster eats IQ stanzas; the protocol shouldn't keep processing */
 	return TRUE;
 }
 
@@ -700,7 +700,7 @@
 	void *ft_handle       = purple_xfers_get_handle();
 	void *sound_handle    = purple_sounds_get_handle();
 	void *notify_handle   = purple_notify_get_handle();
-	void *jabber_handle   = purple_plugins_find_with_id("prpl-jabber");
+	void *jabber_handle   = purple_protocols_find("jabber");
 
 	/* Accounts subsystem signals */
 	purple_signal_connect(accounts_handle, "account-connecting",
@@ -868,7 +868,7 @@
 static gboolean
 plugin_unload(PurplePlugin *plugin)
 {
-	void *jabber_handle = purple_plugins_find_with_id("prpl-jabber");
+	void *jabber_handle = purple_protocols_find("jabber");
 
 	purple_signals_disconnect_by_handle(plugin);
 

mercurial