org.guifications.plugins: 7169bb1351651c947deaeacc44b7f1de865518b0

grim at guifications.org grim at guifications.org
Sun Mar 23 23:10:12 CDT 2008


-----------------------------------------------------------------
Revision: 7169bb1351651c947deaeacc44b7f1de865518b0
Ancestor: e5132f9f68a10cce3066647789d0a947d62a62b5
Author: grim at guifications.org
Date: 2008-03-24T04:04:17
Branch: org.guifications.plugins

Modified files:
        convbadger/convbadger.c

ChangeLog: 

Not sure what happened here, but we need the gtkconv's handle, not purples conv handle


-----------------------------------------------------------------
This revision's diffstat output:
 convbadger.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------- next part --------------
============================================================
--- convbadger/convbadger.c	81ba0e5e46ce360e0e2b5e6c2d7bdd867e722cc0
+++ convbadger/convbadger.c	70e514d5a2dd060e88fbcb24ca8fc1ae51173ade
@@ -130,6 +130,7 @@ plugin_load(PurplePlugin *plugin) {
 static gboolean
 plugin_load(PurplePlugin *plugin) {
 	void *conv_handle = purple_conversations_get_handle();
+	void *gtk_conv_handle = pidgin_conversations_get_handle();
 
 	data = g_hash_table_new_full(g_direct_hash, g_direct_equal,
 								 NULL, NULL);
@@ -139,7 +140,7 @@ plugin_load(PurplePlugin *plugin) {
 	purple_signal_connect(conv_handle, "deleting-conversation", plugin,
 						  PURPLE_CALLBACK(convbadger_conv_destroyed_cb), NULL);
 
-	purple_signal_connect(conv_handle, "conversation-switched", plugin,
+	purple_signal_connect(gtk_conv_handle, "conversation-switched", plugin,
 						  PURPLE_CALLBACK(convbadger_conv_switched_cb), NULL);
 
 	return TRUE;


More information about the Plugins-commits mailing list