194
194
if (type != G_TYPE_INVALID)
195
195
monitor = G_FILE_MONITOR (g_object_new (type, "filename", pathname, NULL));
197
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, _("Unable to find default local file monitor type"));
197
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
199
200
/* This is non-null on first pass here. Unref the class now.
200
201
* This is to avoid unloading the module and then loading it