diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-12-18 23:21:55 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-12-18 23:21:55 -0500 |
commit | 8c2699bf8bbd189b7869c2498f1bcbba6057ed7e (patch) | |
tree | 985f1e6772296fe460c43fec9fcc584cc42e0ca4 | |
parent | 9b23b563c3af31264db4aa70a54171b3ad890501 (diff) | |
download | gdk-pixbuf-8c2699bf8bbd189b7869c2498f1bcbba6057ed7e.tar.gz |
Avoid a compiler warning
Harmless NULL / FALSE confusion.
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c index 3d9739d38..0ef83b4eb 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c @@ -2927,7 +2927,7 @@ gdk_pixbuf_save_to_stream_finish (GAsyncResult *async_result, /* Can not use g_task_is_valid because our GTask has a * source_object which is not available to us anymore. */ - g_return_val_if_fail (G_IS_TASK (async_result), NULL); + g_return_val_if_fail (G_IS_TASK (async_result), FALSE); task = G_TASK (async_result); |