summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/engines/pixbuf/pixbuf-rc-style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/engines/pixbuf/pixbuf-rc-style.c b/modules/engines/pixbuf/pixbuf-rc-style.c
index abff64dd83..a3443d2496 100644
--- a/modules/engines/pixbuf/pixbuf-rc-style.c
+++ b/modules/engines/pixbuf/pixbuf-rc-style.c
@@ -803,7 +803,7 @@ theme_parse_image(GtkSettings *settings,
if (data->overlay && !data->overlay->filename)
clear_theme_pixbuf_and_warn (&data->overlay, scanner, "Overlay image options specified without filename");
- if (!data->gap->filename)
+ if (data->gap && !data->gap->filename)
{
if (data->gap)
clear_theme_pixbuf_and_warn (&data->gap, scanner, "Gap image options specified without filename");