Avoid a crash in the pixbuf engine

This is fallout from e4c83bbfdb,
which removed a necessary check.
This commit is contained in:
Matthias Clasen
2013-12-01 17:10:31 -05:00
parent 3d0abd5cb0
commit 9559c707d5

View File

@ -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");