Add 's' to make the preference file read

This commit is contained in:
Backalor
2013-01-14 19:39:27 +09:00
parent 5356118147
commit ba0438607c

View File

@@ -413,13 +413,13 @@ prefs_set_splash(gboolean value)
gboolean gboolean
prefs_get_notify_status(void) prefs_get_notify_status(void)
{ {
return g_key_file_get_boolean(prefs, "notification", "status", NULL); return g_key_file_get_boolean(prefs, "notifications", "status", NULL);
} }
void void
prefs_set_notify_status(gboolean value) prefs_set_notify_status(gboolean value)
{ {
g_key_file_set_boolean(prefs, "notification", "status", value); g_key_file_set_boolean(prefs, "notifications", "status", value);
_save_prefs(); _save_prefs();
} }