mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
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:
parent
3690cb75a6
commit
fd6e388736
@ -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]:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user