forked from AuroraMiddleware/gtk
Clarify the arguments to g_file_monitor_directory()
Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
parent
d2d997a021
commit
88bb9342ab
@ -1069,9 +1069,9 @@ gtk_file_system_model_got_enumerator (GObject *dir, GAsyncResult *res, gpointer
|
||||
model);
|
||||
g_object_unref (enumerator);
|
||||
model->dir_monitor = g_file_monitor_directory (model->dir,
|
||||
0,
|
||||
G_FILE_MONITOR_NONE,
|
||||
model->cancellable,
|
||||
NULL);
|
||||
NULL); /* we don't mind if directory monitoring isn't supported, so the GError is NULL here */
|
||||
if (model->dir_monitor)
|
||||
g_signal_connect (model->dir_monitor,
|
||||
"changed",
|
||||
|
Loading…
Reference in New Issue
Block a user