From fbd913ec626d8436ea4efdde4ffc8090a3b52cfc Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 25 Feb 2016 01:51:33 +0000 Subject: [PATCH] Remove default from plugin theme NULL checks --- src/plugins/themes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/themes.c b/src/plugins/themes.c index 42e7b7a1..f441af84 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 (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); theme_item_t ret;