Don't set error here, since we fallback to polling monitor.

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
This commit is contained in:
Alexander Larsson 2008-01-14 15:04:25 +00:00 committed by Alexander Larsson
parent 3690cb75a6
commit fd6e388736
2 changed files with 6 additions and 1 deletions

View 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]:

View 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)