From fd6e3887360be0e6755d06ca6287950a6dafb073 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 14 Jan 2008 15:04:25 +0000 Subject: [PATCH] Don't set error here, since we fallback to polling monitor. 2008-01-14 Alexander Larsson * gfile.c (g_file_monitor_file): Don't set error here, since we fallback to polling monitor. svn path=/trunk/; revision=6307 --- gio/ChangeLog | 5 +++++ gio/gfile.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index d88c45fe..27cba351 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,8 @@ +2008-01-14 Alexander Larsson + + * gfile.c (g_file_monitor_file): + Don't set error here, since we fallback to polling monitor. + 2008-01-14 Alexander Larsson * gfile.[ch]: diff --git a/gio/gfile.c b/gio/gfile.c index 0d0a5e12..309c1ecf 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -3322,7 +3322,7 @@ g_file_monitor_file (GFile *file, monitor = NULL; if (iface->monitor_file) - monitor = (* iface->monitor_file) (file, flags, cancellable, error); + monitor = (* iface->monitor_file) (file, flags, cancellable, NULL); /* Fallback to polling */ if (monitor == NULL) -- 2.34.1