Remove default from plugin theme NULL checks
This commit is contained in:
@@ -74,7 +74,7 @@ plugin_themes_close(void)
|
|||||||
theme_item_t
|
theme_item_t
|
||||||
plugin_themes_get(const char *const group, const char *const key, const char *const def)
|
plugin_themes_get(const char *const group, const char *const key, const char *const def)
|
||||||
{
|
{
|
||||||
if (group && key && def && g_key_file_has_key(themes, group, key, NULL)) {
|
if (group && key && g_key_file_has_key(themes, group, key, NULL)) {
|
||||||
gchar *result = g_key_file_get_string(themes, group, key, NULL);
|
gchar *result = g_key_file_get_string(themes, group, key, NULL);
|
||||||
|
|
||||||
theme_item_t ret;
|
theme_item_t ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user