diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2010-12-06 10:31:48 +0100 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2010-12-06 10:31:48 +0100 |
commit | 15d09e647bba5ee2999873e13025143809e712fc (patch) | |
tree | cbf8519781f0ade749185b7c84b30c0bfe5fa91f | |
parent | 9d4a68b64fb8066c7211f4f310f8fe38e17ff57b (diff) | |
download | thunar-15d09e647bba5ee2999873e13025143809e712fc.tar.gz |
Fix unused variable warning when building with GLib < 2.20.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | thunar/thunar-gio-extensions.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 58360eb7..6712ab0b 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); |