summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-10-22 20:50:48 +0200
committerStef Walter <stefw@gnome.org>2012-10-22 20:50:48 +0200
commit24cc1e118f34c8d90e05e9a6a9762de5c0415328 (patch)
treeeced85b74e0da6fcc57020c763cd174728acf0e2 /tool
parent791b0c0b4d07d5120d08427a6d7ec94c5f4db813 (diff)
downloadlibsecret-24cc1e118f34c8d90e05e9a6a9762de5c0415328.tar.gz
Fix for glib deprecations
* g_type_init() was deprecated in glib 2.35.0
Diffstat (limited to 'tool')
-rw-r--r--tool/secret-tool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/secret-tool.c b/tool/secret-tool.c
index 533647f..9f88ef5 100644
--- a/tool/secret-tool.c
+++ b/tool/secret-tool.c
@@ -345,7 +345,9 @@ main (int argc,
textdomain (GETTEXT_PACKAGE);
#endif
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
if (argc < 2)
usage();