mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 07:16:22 +00:00
refactor: partly move plugins to glib
That's not very nice yet but we have to start somewhere.
This commit is contained in:
@@ -88,7 +88,7 @@ plugin_settings_string_get(const char* const group, const char* const key, const
|
||||
if (group && key && g_key_file_has_key(settings, group, key, NULL)) {
|
||||
return g_key_file_get_string(settings, group, key, NULL);
|
||||
} else if (def) {
|
||||
return strdup(def);
|
||||
return g_strdup(def);
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user