g_cancellable_get_fd: silently return -1 for NULL cancellable
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 29 Jul 2011 19:38:54 +0000 (15:38 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 1 Aug 2011 20:24:34 +0000 (16:24 -0400)
commitee63179b71f6a4153f08bc5c84c24a0d0ac76263
tree462715828f1dbb0b4eaeb0a98cdd5c7a8e700107
parent659ba3d0b3eca1ee3af13d277ac8c847651b0a6a
g_cancellable_get_fd: silently return -1 for NULL cancellable

This keeps compatibility with previous behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=655598

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gcancellable.c