comparison plugins/win32/winprefs/winprefs.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 2b772e7094ef
children bb0d7b719af2
comparison
equal deleted inserted replaced
11032:31c1c48daba1 11033:50224ac8184d
327 /* 327 /*
328 * EXPORTED FUNCTIONS 328 * EXPORTED FUNCTIONS
329 */ 329 */
330 330
331 gboolean plugin_load(GaimPlugin *plugin) { 331 gboolean plugin_load(GaimPlugin *plugin) {
332 gaim_debug_register_category("gtkappbar");
333 gaim_debug_register_category(WINPREFS_PLUGIN_ID);
334
332 /* Find out how to go blinky */ 335 /* Find out how to go blinky */
333 load_winver_specific_procs(); 336 load_winver_specific_procs();
334 337
335 handle = plugin; 338 handle = plugin;
336 339
356 } 359 }
357 360
358 gboolean plugin_unload(GaimPlugin *plugin) { 361 gboolean plugin_unload(GaimPlugin *plugin) {
359 blist_set_dockable(FALSE); 362 blist_set_dockable(FALSE);
360 blist_set_ontop(FALSE); 363 blist_set_ontop(FALSE);
364
365 gaim_debug_unregister_category("gtkappbar");
366 gaim_debug_unregister_category(WINPREFS_PLUGIN_ID);
367
361 return TRUE; 368 return TRUE;
362 } 369 }
363 370
364 static GtkWidget* get_config_frame(GaimPlugin *plugin) { 371 static GtkWidget* get_config_frame(GaimPlugin *plugin) {
365 GtkWidget *ret; 372 GtkWidget *ret;