Mercurial > pidgin.yaz
diff plugins/timestamp.c @ 10757:bb6fea81e770
[gaim-migrate @ 12360]
Plugins don't need to explicitly remove signals they have connected.
It's done automatically by plugin.c when the plugin is unloaded.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 27 Mar 2005 22:44:59 +0000 |
parents | ce098e226486 |
children | 50224ac8184d |
line wrap: on
line diff
--- a/plugins/timestamp.c Sun Mar 27 22:42:46 2005 +0000 +++ b/plugins/timestamp.c Sun Mar 27 22:44:59 2005 +0000 @@ -255,14 +255,6 @@ plugin_unload(GaimPlugin *plugin) { GList *cnvs; - void *conv_handle = gaim_conversations_get_handle(); - - gaim_signal_disconnect(conv_handle, "conversation-created", - plugin, GAIM_CALLBACK(timestamp_new_convo)); - gaim_signal_disconnect(conv_handle, "receiving-im-msg", - plugin, GAIM_CALLBACK(timestamp_receiving_msg)); - gaim_signal_disconnect(conv_handle, "displaying-im-msg", - plugin, GAIM_CALLBACK(timestamp_displaying_conv_msg)); destroy_timer_list();