diff --git a/src/config/preferences.c b/src/config/preferences.c index 64b8bed8..8307fe2c 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -251,7 +251,7 @@ prefs_reload(void) } void -prefs_load(char* config_file) +prefs_load(const char* config_file) { if (config_file == NULL) { prefs_loc = files_get_config_path(FILE_PROFRC); diff --git a/src/config/preferences.h b/src/config/preferences.h index 22d6184e..3ff6a591 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -205,14 +205,11 @@ typedef struct prof_winplacement_t int inputwin_pos; } ProfWinPlacement; -void prefs_load(char* config_file); +void prefs_load(const char* config_file); void prefs_save(void); void prefs_close(void); void prefs_reload(void); -char* prefs_find_login(char* prefix); -void prefs_reset_login_search(void); - gchar* prefs_autocomplete_boolean_choice(const char* const prefix, gboolean previous, void* context); void prefs_reset_boolean_choice(void); @@ -359,6 +356,4 @@ gboolean prefs_get_room_notify(const char* const roomjid); gboolean prefs_get_room_notify_mention(const char* const roomjid); gboolean prefs_get_room_notify_trigger(const char* const roomjid); -gchar* prefs_get_inputrc(void); - #endif