summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-03-29 17:41:29 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-04-10 10:08:35 +0200
commitee43020b58cd0fd02a2b53b88e8c878f4230d47e (patch)
tree1bc936787d6eb61eec46d90bfcc2f298b212523e /client
parentd59e6873086ff95deb0953c5558632a19659f79a (diff)
downloadgvfs-ee43020b58cd0fd02a2b53b88e8c878f4230d47e.tar.gz
Return proper type from g_daemon_file_monitor_{dir,file}
These functions return pointers, so it's better to return NULL rather than FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=747360
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 6de410b3..40341aea 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -3090,7 +3090,7 @@ g_daemon_file_monitor_dir (GFile* file,
proxy = create_proxy_for_file (file, &mount_info, &path, NULL, cancellable, error);
if (proxy == NULL)
- return FALSE;
+ return NULL;
res = gvfs_dbus_mount_call_create_directory_monitor_sync (proxy,
@@ -3143,7 +3143,7 @@ g_daemon_file_monitor_file (GFile* file,
proxy = create_proxy_for_file (file, &mount_info, &path, NULL, cancellable, error);
if (proxy == NULL)
- return FALSE;
+ return NULL;
res = gvfs_dbus_mount_call_create_file_monitor_sync (proxy,