Mercurial > pidgin
comparison src/connection.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 | 3e43c132f151 |
children | 1c5398ccbeb0 |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
499 void | 499 void |
500 gaim_connections_init(void) | 500 gaim_connections_init(void) |
501 { | 501 { |
502 void *handle = gaim_connections_get_handle(); | 502 void *handle = gaim_connections_get_handle(); |
503 | 503 |
504 gaim_debug_register_category("connection"); | |
505 | |
504 gaim_signal_register(handle, "signing-on", | 506 gaim_signal_register(handle, "signing-on", |
505 gaim_marshal_VOID__POINTER, NULL, 1, | 507 gaim_marshal_VOID__POINTER, NULL, 1, |
506 gaim_value_new(GAIM_TYPE_SUBTYPE, | 508 gaim_value_new(GAIM_TYPE_SUBTYPE, |
507 GAIM_SUBTYPE_CONNECTION)); | 509 GAIM_SUBTYPE_CONNECTION)); |
508 | 510 |
524 | 526 |
525 void | 527 void |
526 gaim_connections_uninit(void) | 528 gaim_connections_uninit(void) |
527 { | 529 { |
528 gaim_signals_unregister_by_instance(gaim_connections_get_handle()); | 530 gaim_signals_unregister_by_instance(gaim_connections_get_handle()); |
531 | |
532 gaim_debug_unregister_category("connection"); | |
529 } | 533 } |
530 | 534 |
531 void * | 535 void * |
532 gaim_connections_get_handle(void) | 536 gaim_connections_get_handle(void) |
533 { | 537 { |