Add GError to file monitor calls

2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        (g_file_monitor_directory):
        (g_file_monitor_file):
	Add GError to file monitor calls
	
        * glocaldirectorymonitor.c:
        * glocaldirectorymonitor.h:
        * glocalfile.c:
        * glocalfilemonitor.c:
        * glocalfilemonitor.h:
        * gunixmounts.c:
	Update for above change


svn path=/trunk/; revision=6306
This commit is contained in:
Alexander Larsson
2008-01-14 15:00:31 +00:00
committed by Alexander Larsson
parent a80b1120f1
commit 3690cb75a6
9 changed files with 65 additions and 21 deletions

View File

@@ -518,11 +518,13 @@ struct _GFileIface
GFileMonitor* (*monitor_dir) (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable);
GCancellable *cancellable,
GError **error);
GFileMonitor* (*monitor_file) (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable);
GCancellable *cancellable,
GError **error);
};
@@ -794,10 +796,12 @@ gboolean g_file_copy_attributes (GFile
GFileMonitor* g_file_monitor_directory (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable);
GCancellable *cancellable,
GError **error);
GFileMonitor* g_file_monitor_file (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable);
GCancellable *cancellable,
GError **error);
/* Utilities */