Mercurial > pidgin
comparison plugins/notify.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 | 17142948653e |
children | 9b3833da6840 |
comparison
equal
deleted
inserted
replaced
11446:41134575a091 | 11447:ef6e94bdda08 |
---|---|
425 notify_win(gaimwin); | 425 notify_win(gaimwin); |
426 } | 426 } |
427 | 427 |
428 #if 0 | 428 #if 0 |
429 static void | 429 static void |
430 conversation_drag_ended(GaimConversation *active_conv, | 430 conversation_dragging(GaimConversation *active_conv, |
431 GaimConvWindow *old_gaimwin, | 431 GaimConvWindow *old_gaimwin, |
432 GaimConvWindow *new_gaimwin) | 432 GaimConvWindow *new_gaimwin) |
433 { | 433 { |
434 if (old_gaimwin != new_gaimwin) { | 434 if (old_gaimwin != new_gaimwin) { |
435 if (old_gaimwin == NULL) { | 435 if (old_gaimwin == NULL) { |
790 gaim_signal_connect(conv_handle, "deleting-conversation", plugin, | 790 gaim_signal_connect(conv_handle, "deleting-conversation", plugin, |
791 GAIM_CALLBACK(deleting_conv), NULL); | 791 GAIM_CALLBACK(deleting_conv), NULL); |
792 gaim_signal_connect(conv_handle, "conversation-switched", plugin, | 792 gaim_signal_connect(conv_handle, "conversation-switched", plugin, |
793 GAIM_CALLBACK(conv_switched), NULL); | 793 GAIM_CALLBACK(conv_switched), NULL); |
794 #if 0 | 794 #if 0 |
795 gaim_signal_connect(gtk_conv_handle, "conversation-drag-ended", plugin, | 795 gaim_signal_connect(gtk_conv_handle, "conversation-dragging", plugin, |
796 GAIM_CALLBACK(conversation_drag_ended), NULL); | 796 GAIM_CALLBACK(conversation_dragging), NULL); |
797 #endif | 797 #endif |
798 | 798 |
799 while (convs) { | 799 while (convs) { |
800 GaimConversation *conv = (GaimConversation *)convs->data; | 800 GaimConversation *conv = (GaimConversation *)convs->data; |
801 | 801 |