Commit 88bb9342 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Benjamin Otte

Clarify the arguments to g_file_monitor_directory()

Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
parent d2d997a0
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment