im.pidgin.pidgin.2.2.2: 81a33e5c1827b32ff5b144f2a2d9f87450f4c182

sadrul at pidgin.im sadrul at pidgin.im
Fri Oct 19 17:12:49 EDT 2007


-----------------------------------------------------------------
Revision: 81a33e5c1827b32ff5b144f2a2d9f87450f4c182
Ancestor: 8ef7c12581e5060a9cb45668391b66749a205f45
Author: sadrul at pidgin.im
Date: 2007-10-19T16:22:50
Branch: im.pidgin.pidgin.2.2.2

Modified files:
        finch/gntpounce.c

ChangeLog: 

applied changes from 2dc8fc60a9db3bce83fb319e9406ec3c01575911
             through 63162f419a649bdd77b85cff73c4c490ec863ed1
log message:
|   Pounce handlers cannot have a null callback.


-------------- next part --------------
============================================================
--- finch/gntpounce.c	6fb43d36f53858938dd460d31a9e474d94726805
+++ finch/gntpounce.c	aebe4b731e75af63c00f79676e167009b1f7435d
@@ -964,10 +964,15 @@ finch_pounces_init(void)
 						PURPLE_CALLBACK(signed_on_off_cb), NULL);
 }
 
+static void
+dummy_pounce_cb(PurplePounce *pounce, PurplePounceEvent events, void *data)
+{
+}
+
 /* XXX: There's no such thing in pidgin. Perhaps there should be? */
 void finch_pounces_uninit()
 {
-	purple_pounces_register_handler(FINCH_UI, NULL, NULL, NULL);
+	purple_pounces_register_handler(FINCH_UI, dummy_pounce_cb, NULL, NULL);
 
 	purple_signals_disconnect_by_handle(finch_pounces_get_handle());
 }


More information about the Commits mailing list