[glib] Don't try to find nfs mounts on Windows
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't try to find nfs mounts on Windows
- Date: Sat, 2 Feb 2013 05:19:26 +0000 (UTC)
commit 59372663f2ed57b60de7cbf2a3241cf9d7adbbea
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 2 00:19:15 2013 -0500
Don't try to find nfs mounts on Windows
This should fix the build there.
https://bugzilla.gnome.org/show_bug.cgi?id=592211
gio/glocalfile.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gio/glocalfile.c b/gio/glocalfile.c
index fe17e0c..9007faa 100644
--- a/gio/glocalfile.c
+++ b/gio/glocalfile.c
@@ -2408,6 +2408,16 @@ g_local_file_move (GFile *source,
return TRUE;
}
+#ifdef G_OS_WIN32
+
+static gboolean
+is_remote (const gchar *filename)
+{
+ return FALSE;
+}
+
+#else
+
static gboolean
is_remote_fs (const gchar *filename)
{
@@ -2476,6 +2486,7 @@ is_remote (const gchar *filename)
return FALSE;
}
+#endif /* !G_OS_WIN32 */
static GFileMonitor*
g_local_file_monitor_dir (GFile *file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]