comparison src/gtksound.c @ 6778:b8bc8dd411cc

[gaim-migrate @ 7316] memleak fixen committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 07 Sep 2003 15:55:28 +0000
parents 74d1cd241a3d
children feb3d21a7794
comparison
equal deleted inserted replaced
6777:513fd80bcd2e 6778:b8bc8dd411cc
309 } 309 }
310 310
311 311
312 static void _pref_sound_method_changed(const char *name, GaimPrefType type, 312 static void _pref_sound_method_changed(const char *name, GaimPrefType type,
313 gpointer val, gpointer data) { 313 gpointer val, gpointer data) {
314 if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method"))
315 return;
316
314 sound_initialized = TRUE; 317 sound_initialized = TRUE;
315 318
316 if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method"))
317 return;
318 #ifdef USE_AO 319 #ifdef USE_AO
319 ao_driver = -1; 320 ao_driver = -1;
320 321
321 if(!strcmp(val, "esd")) 322 if(!strcmp(val, "esd"))
322 ao_driver = ao_driver_id("esd"); 323 ao_driver = ao_driver_id("esd");