mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 15:46:22 +00:00
@@ -600,7 +600,7 @@ prefs_get_string_with_locale(preference_t pref, gchar* locale)
|
|||||||
* @param new_value The new string value to set. Pass NULL to remove the key.
|
* @param new_value The new string value to set. Pass NULL to remove the key.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
prefs_set_string(preference_t pref, gchar* new_value)
|
prefs_set_string(preference_t pref, const gchar* new_value)
|
||||||
{
|
{
|
||||||
const char* group = _get_group(pref);
|
const char* group = _get_group(pref);
|
||||||
const char* key = _get_key(pref);
|
const char* key = _get_key(pref);
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ gboolean prefs_get_boolean(preference_t pref);
|
|||||||
void prefs_set_boolean(preference_t pref, gboolean value);
|
void prefs_set_boolean(preference_t pref, gboolean value);
|
||||||
gchar* prefs_get_string(preference_t pref);
|
gchar* prefs_get_string(preference_t pref);
|
||||||
gchar* prefs_get_string_with_locale(preference_t pref, gchar* locale);
|
gchar* prefs_get_string_with_locale(preference_t pref, gchar* locale);
|
||||||
void prefs_set_string(preference_t pref, gchar* new_value);
|
void prefs_set_string(preference_t pref, const gchar* new_value);
|
||||||
void prefs_set_string_with_option(preference_t pref, char* option, char* value);
|
void prefs_set_string_with_option(preference_t pref, char* option, char* value);
|
||||||
void prefs_set_string_list_with_option(preference_t pref, char* option, const gchar* const* values);
|
void prefs_set_string_list_with_option(preference_t pref, char* option, const gchar* const* values);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user