mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
fam: implement gio-nfs-{file,directory}-monitor
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
This commit is contained in:
parent
6be54e9f56
commit
6af8894003
@ -47,6 +47,8 @@ g_io_module_query (void)
|
||||
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);
|
||||
|
@ -149,5 +149,9 @@ g_fam_directory_monitor_register (GIOModule *module)
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -147,5 +147,9 @@ g_fam_file_monitor_register (GIOModule *module)
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user