Mercurial > pidgin
comparison plugins/gestures/gestures.c @ 11033:50224ac8184d
[gaim-migrate @ 12919]
Ok, this is debug window filtering. Sadrul was going to do this with a text entry, but I like this better, feel free to disagree with me. It's not the prettiest in a couple places, most notable gtkmain.c where a bunch of categories that don't currently have a home get registered. I added some plugin_(un)load functions to some plugins to place the (un)register functions. Though I didn't do that for the prpls. Comments and cleanups welcome. (Oh, I've been seeing some crashes on quit, but I haven't been able to get it to happen reliably so I'm not sure if it's my code or some transient HEAD oscar/other crash.)
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 28 Jun 2005 06:13:07 +0000 |
parents | de9af04c50ff |
children | bb0d7b719af2 |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
183 plugin_load(GaimPlugin *plugin) | 183 plugin_load(GaimPlugin *plugin) |
184 { | 184 { |
185 GaimConversation *conv; | 185 GaimConversation *conv; |
186 GList *l; | 186 GList *l; |
187 | 187 |
188 gaim_debug_register_category("gestures"); | |
189 | |
188 for (l = gaim_get_conversations(); l != NULL; l = l->next) { | 190 for (l = gaim_get_conversations(); l != NULL; l = l->next) { |
189 conv = (GaimConversation *)l->data; | 191 conv = (GaimConversation *)l->data; |
190 | 192 |
191 if (!GAIM_IS_GTK_CONVERSATION(conv)) | 193 if (!GAIM_IS_GTK_CONVERSATION(conv)) |
192 continue; | 194 continue; |
216 | 218 |
217 gtkconv = GAIM_GTK_CONVERSATION(conv); | 219 gtkconv = GAIM_GTK_CONVERSATION(conv); |
218 | 220 |
219 gstroke_cleanup(gtkconv->imhtml); | 221 gstroke_cleanup(gtkconv->imhtml); |
220 } | 222 } |
223 | |
224 gaim_debug_register_category("gestures"); | |
221 | 225 |
222 return TRUE; | 226 return TRUE; |
223 } | 227 } |
224 | 228 |
225 static GtkWidget * | 229 static GtkWidget * |