Mercurial > pidgin.yaz
diff gtk/gtksound.c @ 15339:412c2b3b5fc0
[gaim-migrate @ 18131]
A few more path-pref fixes.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 15 Jan 2007 19:24:50 +0000 |
parents | 315be2f86cb9 |
children |
line wrap: on
line diff
--- a/gtk/gtksound.c Mon Jan 15 19:03:37 2007 +0000 +++ b/gtk/gtksound.c Mon Jan 15 19:24:50 2007 +0000 @@ -527,7 +527,7 @@ /* check NULL for sounds that don't have an option, ie buddy pounce */ if (gaim_prefs_get_bool(enable_pref)) { - char *filename = g_strdup(gaim_prefs_get_string(file_pref)); + char *filename = g_strdup(gaim_prefs_get_path(file_pref)); if(!filename || !strlen(filename)) { g_free(filename); filename = g_build_filename(DATADIR, "sounds", "gaim", sounds[event].def, NULL);