diff options
-rw-r--r-- | src/plugins/themes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/themes.c b/src/plugins/themes.c index 5a50d4e6..42e7b7a1 100644 --- a/src/plugins/themes.c +++ b/src/plugins/themes.c @@ -74,7 +74,7 @@ plugin_themes_close(void) theme_item_t plugin_themes_get(const char *const group, const char *const key, const char *const def) { - if (g_key_file_has_key(themes, group, key, NULL)) { + if (group && key && def && g_key_file_has_key(themes, group, key, NULL)) { gchar *result = g_key_file_get_string(themes, group, key, NULL); theme_item_t ret; |