Mercurial > pidgin
comparison src/gtksound.c @ 11256:bb0d7b719af2
[gaim-migrate @ 13430]
I give you regex filtering in the debug window.
We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter.
This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it.
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sat, 13 Aug 2005 22:09:34 +0000 |
parents | e25575a59f01 |
children | 448ebda0f7ec |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
153 | 153 |
154 static void | 154 static void |
155 gaim_gtk_sound_init(void) | 155 gaim_gtk_sound_init(void) |
156 { | 156 { |
157 void *gtk_sound_handle = gaim_gtk_sound_get_handle(); | 157 void *gtk_sound_handle = gaim_gtk_sound_get_handle(); |
158 | |
159 gaim_debug_register_category("sound"); | |
160 | 158 |
161 gaim_signal_connect(gaim_connections_get_handle(), "signed-on", | 159 gaim_signal_connect(gaim_connections_get_handle(), "signed-on", |
162 gtk_sound_handle, GAIM_CALLBACK(account_signon_cb), | 160 gtk_sound_handle, GAIM_CALLBACK(account_signon_cb), |
163 NULL); | 161 NULL); |
164 | 162 |
206 { | 204 { |
207 #ifdef USE_AO | 205 #ifdef USE_AO |
208 ao_shutdown(); | 206 ao_shutdown(); |
209 #endif | 207 #endif |
210 sound_initialized = FALSE; | 208 sound_initialized = FALSE; |
211 | |
212 gaim_debug_unregister_category("sound"); | |
213 } | 209 } |
214 | 210 |
215 #if defined(USE_AO) | 211 #if defined(USE_AO) |
216 static gboolean | 212 static gboolean |
217 expire_old_child(gpointer data) | 213 expire_old_child(gpointer data) |