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 d88c45fedd2ed049ba899b2a1f6dc70dc60e5e71..27cba351133424930020f28dd3a36ac51c589707 100644 (file)
@@ -1,3 +1,8 @@
+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]:
index 0d0a5e1294bc31dc2c1ce442eb35c6bd6abde36b..309c1ecf511389854a87f356a6349fd9736a285c 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)