mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 23:26:21 +00:00
Add 's' to make the preference file read
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user