app: gimp_thumb_box_take_file() must accept a NULL file

This commit is contained in:
Michael Natterer 2014-07-08 21:40:17 +02:00
parent c3573c3c45
commit 43e9a79ef9
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{