Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
11446:41134575a091 | 11447:ef6e94bdda08 |
---|---|
54 | 54 |
55 /************************************************************************** | 55 /************************************************************************** |
56 * Conversation subsystem signal callbacks | 56 * Conversation subsystem signal callbacks |
57 **************************************************************************/ | 57 **************************************************************************/ |
58 static void | 58 static void |
59 conversation_drag_end_cb(GaimConvWindow *source, GaimConvWindow *destination) { | 59 conversation_dragging_cb(GaimConvWindow *source, GaimConvWindow *destination) { |
60 gaim_debug_info("gtk-signal-test", "conversation drag ended cb\n"); | 60 gaim_debug_info("gtk-signal-test", "conversation dragging cb\n"); |
61 } | 61 } |
62 | 62 |
63 /************************************************************************** | 63 /************************************************************************** |
64 * Plugin stuff | 64 * Plugin stuff |
65 **************************************************************************/ | 65 **************************************************************************/ |
79 plugin, GAIM_CALLBACK(blist_created_cb), NULL); | 79 plugin, GAIM_CALLBACK(blist_created_cb), NULL); |
80 gaim_signal_connect(blist_handle, "drawing-tooltip", | 80 gaim_signal_connect(blist_handle, "drawing-tooltip", |
81 plugin, GAIM_CALLBACK(blist_drawing_tooltip_cb), NULL); | 81 plugin, GAIM_CALLBACK(blist_drawing_tooltip_cb), NULL); |
82 | 82 |
83 /* Conversations subsystem signals */ | 83 /* Conversations subsystem signals */ |
84 gaim_signal_connect(conv_handle, "conversation-drag-ended", | 84 gaim_signal_connect(conv_handle, "conversation-dragging", |
85 plugin, GAIM_CALLBACK(conversation_drag_end_cb), NULL); | 85 plugin, GAIM_CALLBACK(conversation_dragging_cb), NULL); |
86 | 86 |
87 return TRUE; | 87 return TRUE; |
88 } | 88 } |
89 | 89 |
90 static gboolean | 90 static gboolean |