Declare explicit support for monitor NFS from the fam file monitoring
backend. This will cause it to be preferred for monitoring on NFS, if
it is installed.
https://bugzilla.gnome.org/show_bug.cgi?id=592211
char *eps[] = {
G_LOCAL_DIRECTORY_MONITOR_EXTENSION_POINT_NAME,
G_LOCAL_FILE_MONITOR_EXTENSION_POINT_NAME,
+ G_NFS_DIRECTORY_MONITOR_EXTENSION_POINT_NAME,
+ G_NFS_FILE_MONITOR_EXTENSION_POINT_NAME,
NULL
};
return g_strdupv (eps);
G_TYPE_FAM_DIRECTORY_MONITOR,
"fam",
10);
+ g_io_extension_point_implement (G_NFS_DIRECTORY_MONITOR_EXTENSION_POINT_NAME,
+ G_TYPE_FAM_DIRECTORY_MONITOR,
+ "fam",
+ 10);
}
G_TYPE_FAM_FILE_MONITOR,
"fam",
10);
+ g_io_extension_point_implement (G_NFS_FILE_MONITOR_EXTENSION_POINT_NAME,
+ G_TYPE_FAM_FILE_MONITOR,
+ "fam",
+ 10);
}