Mercurial > pidgin.yaz
diff plugins/gtk-signals-test.c @ 11447:ef6e94bdda08
[gaim-migrate @ 13686]
Renamed "conversation-drag-end" signal to "conversation-dragging" and emit before the conv. window swap happens. This prevents the old conv window from being freed before the signal emits.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 05 Sep 2005 05:38:10 +0000 |
parents | bb0d7b719af2 |
children | 434181b96f44 |
line wrap: on
line diff
--- a/plugins/gtk-signals-test.c Mon Sep 05 05:15:45 2005 +0000 +++ b/plugins/gtk-signals-test.c Mon Sep 05 05:38:10 2005 +0000 @@ -56,8 +56,8 @@ * Conversation subsystem signal callbacks **************************************************************************/ static void -conversation_drag_end_cb(GaimConvWindow *source, GaimConvWindow *destination) { - gaim_debug_info("gtk-signal-test", "conversation drag ended cb\n"); +conversation_dragging_cb(GaimConvWindow *source, GaimConvWindow *destination) { + gaim_debug_info("gtk-signal-test", "conversation dragging cb\n"); } /************************************************************************** @@ -81,8 +81,8 @@ plugin, GAIM_CALLBACK(blist_drawing_tooltip_cb), NULL); /* Conversations subsystem signals */ - gaim_signal_connect(conv_handle, "conversation-drag-ended", - plugin, GAIM_CALLBACK(conversation_drag_end_cb), NULL); + gaim_signal_connect(conv_handle, "conversation-dragging", + plugin, GAIM_CALLBACK(conversation_dragging_cb), NULL); return TRUE; }