mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Return int on c_api_settings_string_list_remove_all
This commit is contained in:
parent
b2508be8f4
commit
350c121e26
@ -292,10 +292,10 @@ c_api_settings_string_list_remove(char *group, char *key, char *value)
|
|||||||
return api_settings_string_list_remove(group, key, value);
|
return api_settings_string_list_remove(group, key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static int
|
||||||
c_api_settings_string_list_remove_all(char *group, char *key)
|
c_api_settings_string_list_remove_all(char *group, char *key)
|
||||||
{
|
{
|
||||||
api_settings_string_list_remove_all(group, key);
|
return api_settings_string_list_remove_all(group, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -84,7 +84,7 @@ void (*prof_settings_set_int)(char *group, char *key, int value) = NULL;
|
|||||||
char** (*prof_settings_get_string_list)(char *group, char *key) = NULL;
|
char** (*prof_settings_get_string_list)(char *group, char *key) = NULL;
|
||||||
void (*prof_settings_string_list_add)(char *group, char *key, char *value) = NULL;
|
void (*prof_settings_string_list_add)(char *group, char *key, char *value) = NULL;
|
||||||
int (*prof_settings_string_list_remove)(char *group, char *key, char *value) = NULL;
|
int (*prof_settings_string_list_remove)(char *group, char *key, char *value) = NULL;
|
||||||
void (*prof_settings_string_list_remove_all)(char *group, char *key) = NULL;
|
int (*prof_settings_string_list_remove_all)(char *group, char *key) = NULL;
|
||||||
|
|
||||||
void (*prof_incoming_message)(char *barejid, char *resource, char *message) = NULL;
|
void (*prof_incoming_message)(char *barejid, char *resource, char *message) = NULL;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ void (*prof_settings_set_int)(char *group, char *key, int value);
|
|||||||
char** (*prof_settings_get_string_list)(char *group, char *key);
|
char** (*prof_settings_get_string_list)(char *group, char *key);
|
||||||
void (*prof_settings_string_list_add)(char *group, char *key, char *value);
|
void (*prof_settings_string_list_add)(char *group, char *key, char *value);
|
||||||
int (*prof_settings_string_list_remove)(char *group, char *key, char *value);
|
int (*prof_settings_string_list_remove)(char *group, char *key, char *value);
|
||||||
void (*prof_settings_string_list_remove_all)(char *group, char *key);
|
int (*prof_settings_string_list_remove_all)(char *group, char *key);
|
||||||
|
|
||||||
void (*prof_incoming_message)(char *barejid, char *resource, char *message);
|
void (*prof_incoming_message)(char *barejid, char *resource, char *message);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user