diff --git a/gio/glocalfile.c b/gio/glocalfile.c index 121d5e9ed..0ad39853f 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -2516,7 +2516,7 @@ g_local_file_move (GFile *source, #ifdef G_OS_WIN32 gboolean -g_local_file_is_remote (const gchar *filename) +g_local_file_is_nfs_home (const gchar *filename) { return FALSE; } @@ -2538,7 +2538,7 @@ is_remote_fs_type (const gchar *fsname) } gboolean -g_local_file_is_remote (const gchar *filename) +g_local_file_is_nfs_home (const gchar *filename) { static gboolean remote_home; static gsize initialized; diff --git a/gio/glocalfile.h b/gio/glocalfile.h index f3ec4f294..ac0ad9d73 100644 --- a/gio/glocalfile.h +++ b/gio/glocalfile.h @@ -46,7 +46,7 @@ GFile * _g_local_file_new (const char *filename); const char * _g_local_file_get_filename (GLocalFile *file); -gboolean g_local_file_is_remote (const gchar *filename); +gboolean g_local_file_is_nfs_home (const gchar *filename); GFile * g_local_file_new_from_dirname_and_basename (const char *dirname, const char *basename); diff --git a/gio/glocalfilemonitor.c b/gio/glocalfilemonitor.c index 3212beff7..4f1660d16 100644 --- a/gio/glocalfilemonitor.c +++ b/gio/glocalfilemonitor.c @@ -878,7 +878,7 @@ g_local_file_monitor_new_for_path (const gchar *pathname, GLocalFileMonitor *monitor; gboolean is_remote_fs; - is_remote_fs = g_local_file_is_remote (pathname); + is_remote_fs = g_local_file_is_nfs_home (pathname); monitor = g_local_file_monitor_new (is_remote_fs, is_directory, error); @@ -900,7 +900,7 @@ g_local_file_monitor_new_in_worker (const gchar *pathname, GLocalFileMonitor *monitor; gboolean is_remote_fs; - is_remote_fs = g_local_file_is_remote (pathname); + is_remote_fs = g_local_file_is_nfs_home (pathname); monitor = g_local_file_monitor_new (is_remote_fs, is_directory, error);