Don't set error here, since we fallback to polling monitor.
authorAlexander Larsson <alexl@redhat.com>
Mon, 14 Jan 2008 15:04:25 +0000 (15:04 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Mon, 14 Jan 2008 15:04:25 +0000 (15:04 +0000)
2008-01-14  Alexander Larsson  <alexl@redhat.com>

* gfile.c (g_file_monitor_file):
Don't set error here, since we fallback to polling monitor.

svn path=/trunk/; revision=6307

gio/ChangeLog
gio/gfile.c

index d88c45f..27cba35 100644 (file)
@@ -1,5 +1,10 @@
 2008-01-14  Alexander Larsson  <alexl@redhat.com>
 
+       * gfile.c (g_file_monitor_file):
+       Don't set error here, since we fallback to polling monitor.
+
+2008-01-14  Alexander Larsson  <alexl@redhat.com>
+
         * gfile.[ch]:
         (g_file_monitor_directory):
         (g_file_monitor_file):
index 0d0a5e1..309c1ec 100644 (file)
@@ -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)