mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
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:
committed by
Alexander Larsson
parent
a80b1120f1
commit
3690cb75a6
@@ -1861,19 +1861,21 @@ g_local_file_move (GFile *source,
|
||||
static GFileMonitor*
|
||||
g_local_file_monitor_dir (GFile *file,
|
||||
GFileMonitorFlags flags,
|
||||
GCancellable *cancellable)
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
GLocalFile* local_file = G_LOCAL_FILE(file);
|
||||
return _g_local_directory_monitor_new (local_file->filename, flags);
|
||||
return _g_local_directory_monitor_new (local_file->filename, flags, error);
|
||||
}
|
||||
|
||||
static GFileMonitor*
|
||||
g_local_file_monitor_file (GFile *file,
|
||||
GFileMonitorFlags flags,
|
||||
GCancellable *cancellable)
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
GLocalFile* local_file = G_LOCAL_FILE(file);
|
||||
return _g_local_file_monitor_new (local_file->filename, flags);
|
||||
return _g_local_file_monitor_new (local_file->filename, flags, error);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user