diff options
Diffstat (limited to 'demos/gtk-demo/pixbufs.c')
-rw-r--r-- | demos/gtk-demo/pixbufs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/gtk-demo/pixbufs.c b/demos/gtk-demo/pixbufs.c index 4cc7190497..ed1ed81b24 100644 --- a/demos/gtk-demo/pixbufs.c +++ b/demos/gtk-demo/pixbufs.c @@ -71,7 +71,7 @@ load_pixbufs (GError **error) background = gdk_pixbuf_new_from_file (filename, error); g_free (filename); - + if (!background) return FALSE; /* Note that "error" was filled with a GError */ @@ -83,10 +83,10 @@ load_pixbufs (GError **error) filename = demo_find_file (image_names[i], error); if (!filename) return FALSE; /* Note that "error" was filled with a GError */ - + images[i] = gdk_pixbuf_new_from_file (filename, error); g_free (filename); - + if (!images[i]) return FALSE; /* Note that "error" was filled with a GError */ } |