diff options
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/account.c | 1 | ||||
-rw-r--r-- | src/config/preferences.c | 9 | ||||
-rw-r--r-- | src/config/preferences.h | 1 |
3 files changed, 1 insertions, 10 deletions
diff --git a/src/config/account.c b/src/config/account.c index a7437ad3..4f52d280 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -138,7 +138,6 @@ account_free(ProfAccount *account) free(account->muc_service); free(account->muc_nick); free(account); - account = NULL; } } diff --git a/src/config/preferences.c b/src/config/preferences.c index 2d6aee79..5bbb36a2 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -209,13 +209,6 @@ prefs_get_priority(void) return g_key_file_get_integer(prefs, PREF_GROUP_PRESENCE, "priority", NULL); } -void -prefs_set_priority(gint value) -{ - g_key_file_set_integer(prefs, PREF_GROUP_PRESENCE, "priority", value); - _save_prefs(); -} - gint prefs_get_reconnect(void) { @@ -514,4 +507,4 @@ _get_default_string(preference_t pref) default: return NULL; } -} \ No newline at end of file +} diff --git a/src/config/preferences.h b/src/config/preferences.h index 48748883..3d2f6023 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -88,7 +88,6 @@ void prefs_set_notify_remind(gint period); gint prefs_get_notify_remind(void); void prefs_set_max_log_size(gint value); gint prefs_get_max_log_size(void); -void prefs_set_priority(gint value); gint prefs_get_priority(void); void prefs_set_reconnect(gint value); gint prefs_get_reconnect(void); |