mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Update preferences.h
* fix const correctness of `prefs_load()` * remove some API's that don't exist anymore Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
parent
1bb1f57128
commit
e8348b8d17
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user