summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-12-01 17:10:31 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-12-01 17:12:08 -0500
commit9559c707d59c5e5c34596f8f75c7ed0b97b4a196 (patch)
tree78206f9edeb627ed017e49f0d1b75da6ab7e53ad
parent3d0abd5cb00bd8a9c4e11d05936d41c363c78808 (diff)
downloadgtk+-9559c707d59c5e5c34596f8f75c7ed0b97b4a196.tar.gz
Avoid a crash in the pixbuf engine
This is fallout from e4c83bbfdb60fdfe0bae207b1ddae295dc267a23, which removed a necessary check.
-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");