From 43e9a79ef941bcd65df7e3356a4e83eac53f17d1 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 8 Jul 2014 21:40:17 +0200 Subject: [PATCH] app: gimp_thumb_box_take_file() must accept a NULL file --- app/widgets/gimpthumbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/widgets/gimpthumbbox.c b/app/widgets/gimpthumbbox.c index 01909dfcb0..1909e325e9 100644 --- a/app/widgets/gimpthumbbox.c +++ b/app/widgets/gimpthumbbox.c @@ -447,7 +447,7 @@ gimp_thumb_box_take_file (GimpThumbBox *box, GFile *file) { g_return_if_fail (GIMP_IS_THUMB_BOX (box)); - g_return_if_fail (G_IS_FILE (file)); + g_return_if_fail (file == NULL || G_IS_FILE (file)); if (box->idle_id) {