comparison src/prefs.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 6240d7fd5b2c
children bb0d7b719af2
comparison
equal deleted inserted replaced
11032:31c1c48daba1 11033:50224ac8184d
1073 void 1073 void
1074 gaim_prefs_init(void) 1074 gaim_prefs_init(void)
1075 { 1075 {
1076 void *handle = gaim_prefs_get_handle(); 1076 void *handle = gaim_prefs_get_handle();
1077 1077
1078 gaim_debug_register_category("prefs");
1079
1078 prefs_hash = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); 1080 prefs_hash = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
1079 1081
1080 gaim_prefs_connect_callback(handle, "/", prefs_save_cb, NULL); 1082 gaim_prefs_connect_callback(handle, "/", prefs_save_cb, NULL);
1081 1083
1082 gaim_prefs_add_none("/core"); 1084 gaim_prefs_add_none("/core");
1129 save_timer = 0; 1131 save_timer = 0;
1130 sync_prefs(); 1132 sync_prefs();
1131 } 1133 }
1132 1134
1133 gaim_prefs_disconnect_by_handle(gaim_prefs_get_handle()); 1135 gaim_prefs_disconnect_by_handle(gaim_prefs_get_handle());
1134 } 1136
1137 gaim_debug_unregister_category("prefs");
1138 }