mirror of https://github.com/GNOME/gimp.git
app: gimp_thumb_box_take_file() must accept a NULL file
This commit is contained in:
parent
c3573c3c45
commit
43e9a79ef9
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue