comparison plugins/gevolution/gevolution.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 5cda52915a1f
children bc700cc98b82
comparison
equal deleted inserted replaced
11032:31c1c48daba1 11033:50224ac8184d
254 } 254 }
255 255
256 static gboolean 256 static gboolean
257 plugin_load(GaimPlugin *plugin) 257 plugin_load(GaimPlugin *plugin)
258 { 258 {
259 gaim_debug_register_category("evolution");
260
259 bonobo_activate(); 261 bonobo_activate();
260 262
261 backup_blist_ui_ops = gaim_blist_get_ui_ops(); 263 backup_blist_ui_ops = gaim_blist_get_ui_ops();
262 264
263 blist_ui_ops = g_memdup(backup_blist_ui_ops, sizeof(GaimBlistUiOps)); 265 blist_ui_ops = g_memdup(backup_blist_ui_ops, sizeof(GaimBlistUiOps));
293 if (book != NULL) 295 if (book != NULL)
294 { 296 {
295 g_object_unref(book); 297 g_object_unref(book);
296 book = NULL; 298 book = NULL;
297 } 299 }
300
301 gaim_debug_unregister_category("evolution");
298 302
299 return TRUE; 303 return TRUE;
300 } 304 }
301 305
302 static void 306 static void