finch/gntsound.c

changeset 19933
258c1ca27063
parent 19859
71d37b57eff2
child 20147
66f05a854eee
--- a/finch/gntsound.c	Tue Sep 11 07:13:05 2007 +0000
+++ b/finch/gntsound.c	Wed Sep 12 09:15:17 2007 +0000
@@ -684,17 +684,17 @@
 	volpref = g_strdup(make_pref("/volume"));
 
 	temp_value = purple_prefs_get_bool(enabled);
-	tmpfile = g_strdup(purple_prefs_get_string(file));
+	tmpfile = g_strdup(purple_prefs_get_path(file));
 	volume = purple_prefs_get_int(volpref);
 
-	purple_prefs_set_string(file, event->file);
+	purple_prefs_set_path(file, event->file);
 	if (!temp_value) purple_prefs_set_bool(enabled, TRUE);
 	purple_prefs_set_int(volpref, gnt_slider_get_value(GNT_SLIDER(pref_dialog->volume)));
 
 	purple_sound_play_event(id, NULL);
 
 	if (!temp_value) purple_prefs_set_bool(enabled, FALSE);
-	purple_prefs_set_string(file, tmpfile);
+	purple_prefs_set_path(file, tmpfile);
 	purple_prefs_set_int(volpref, volume);
 
 	g_free(enabled);

mercurial