[gvfs] Fix build without libsecret



commit f911ba758eb778c6c5d272fbdf7196c6fd101985
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Aug 20 20:11:30 2012 +0200

    Fix build without libsecret
    
    Move compare_specificity into HAVE_KEYRING ifdef

 daemon/gvfskeyring.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfskeyring.c b/daemon/gvfskeyring.c
index 3555ec1..b0893d4 100644
--- a/daemon/gvfskeyring.c
+++ b/daemon/gvfskeyring.c
@@ -135,8 +135,6 @@ build_network_label (const gchar *user,
   return name;
 }
 
-#endif /* HAVE_KEYRING */
-
 gint
 compare_specificity (gconstpointer  a,
 		     gconstpointer  b)
@@ -159,6 +157,8 @@ compare_specificity (gconstpointer  a,
   return res;
 }
 
+#endif /* HAVE_KEYRING */
+
 gboolean
 g_vfs_keyring_lookup_password (const gchar *username,
                                const gchar *host,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]