[Xfce4-commits] <thunar:master> Fix unused variable warning when building with GLib < 2.20.
Jannis Pohlmann
noreply at xfce.org
Mon Dec 6 10:34:01 CET 2010
Updating branch refs/heads/master
to 15d09e647bba5ee2999873e13025143809e712fc (commit)
from 9d4a68b64fb8066c7211f4f310f8fe38e17ff57b (commit)
commit 15d09e647bba5ee2999873e13025143809e712fc
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Mon Dec 6 10:31:48 2010 +0100
Fix unused variable warning when building with GLib < 2.20.
NEWS | 1 +
thunar/thunar-gio-extensions.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index d177f86..9024237 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
1.1.x
=====
+- Fix unused variable warning when building with GLib < 2.20.
1.1.5
=====
diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
index 58360eb..6712ab0 100644
--- a/thunar/thunar-gio-extensions.c
+++ b/thunar/thunar-gio-extensions.c
@@ -544,7 +544,9 @@ thunar_g_volume_is_present (GVolume *volume)
gboolean has_media = FALSE;
gboolean is_shadowed = FALSE;
GDrive *drive;
+#if GLIB_CHECK_VERSION (2, 20, 0)
GMount *mount;
+#endif
_thunar_return_val_if_fail (G_IS_VOLUME (volume), FALSE);
More information about the Xfce4-commits
mailing list