Mercurial > pidgin.yaz
comparison finch/gntpounce.c @ 24009:4ada5e2189d6
Use the more appropriate _unregister_handler function.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 09 Sep 2008 11:54:21 +0000 |
parents | 876ae8ce12d6 |
children | 4d752d07a126 |
comparison
equal
deleted
inserted
replaced
24008:67cb8706a2f2 | 24009:4ada5e2189d6 |
---|---|
977 purple_signal_connect(purple_connections_get_handle(), "signed-off", | 977 purple_signal_connect(purple_connections_get_handle(), "signed-off", |
978 finch_pounces_get_handle(), | 978 finch_pounces_get_handle(), |
979 PURPLE_CALLBACK(signed_on_off_cb), NULL); | 979 PURPLE_CALLBACK(signed_on_off_cb), NULL); |
980 } | 980 } |
981 | 981 |
982 static void | |
983 dummy_pounce_cb(PurplePounce *pounce, PurplePounceEvent events, void *data) | |
984 { | |
985 } | |
986 | |
987 /* XXX: There's no such thing in pidgin. Perhaps there should be? */ | 982 /* XXX: There's no such thing in pidgin. Perhaps there should be? */ |
988 void finch_pounces_uninit() | 983 void finch_pounces_uninit() |
989 { | 984 { |
990 purple_pounces_register_handler(FINCH_UI, dummy_pounce_cb, NULL, NULL); | 985 purple_pounces_unregister_handler(FINCH_UI); |
991 | 986 |
992 purple_signals_disconnect_by_handle(finch_pounces_get_handle()); | 987 purple_signals_disconnect_by_handle(finch_pounces_get_handle()); |
993 } | 988 } |
994 | 989 |