Mercurial > pidgin.yaz
comparison src/gtkblist.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 | dce8d2e7c61c |
children | aedd557f46dd |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
4913 | 4913 |
4914 void gaim_gtk_blist_init(void) | 4914 void gaim_gtk_blist_init(void) |
4915 { | 4915 { |
4916 void *gtk_blist_handle = gaim_gtk_blist_get_handle(); | 4916 void *gtk_blist_handle = gaim_gtk_blist_get_handle(); |
4917 | 4917 |
4918 gaim_debug_register_category("gtkblist"); | |
4919 | |
4918 gaim_signal_connect(gaim_connections_get_handle(), "signed-on", | 4920 gaim_signal_connect(gaim_connections_get_handle(), "signed-on", |
4919 gtk_blist_handle, GAIM_CALLBACK(account_signon_cb), | 4921 gtk_blist_handle, GAIM_CALLBACK(account_signon_cb), |
4920 NULL); | 4922 NULL); |
4921 | 4923 |
4922 /* Initialize prefs */ | 4924 /* Initialize prefs */ |
4945 } | 4947 } |
4946 | 4948 |
4947 void | 4949 void |
4948 gaim_gtk_blist_uninit(void) { | 4950 gaim_gtk_blist_uninit(void) { |
4949 gaim_signals_unregister_by_instance(gaim_gtk_blist_get_handle()); | 4951 gaim_signals_unregister_by_instance(gaim_gtk_blist_get_handle()); |
4952 | |
4953 gaim_debug_unregister_category("gtkblist"); | |
4950 } | 4954 } |
4951 | 4955 |
4952 /********************************************************************* | 4956 /********************************************************************* |
4953 * Public utility functions * | 4957 * Public utility functions * |
4954 *********************************************************************/ | 4958 *********************************************************************/ |