[network-manager-vpnc] auth-dialog: fix for glib < 2.32



commit 37af26a6062b1b6b515de5099179dcfe70b93f66
Author: Dan Williams <dcbw redhat com>
Date:   Fri Mar 2 10:55:46 2012 -0600

    auth-dialog: fix for glib < 2.32

 auth-dialog/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 378a140..ffc94b1 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -101,6 +101,10 @@ keyfile_print_stdout (GKeyFile *keyfile)
 	g_free (data);
 }
 
+#if !GLIB_CHECK_VERSION(2,32,0)
+#define g_key_file_unref g_key_file_free
+#endif
+
 static gboolean
 get_secrets (const char *vpn_uuid,
              const char *vpn_name,



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