summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-10-22 16:55:39 +0200
committerStef Walter <stefw@gnome.org>2012-10-22 16:55:39 +0200
commit0184447d6a6930e7fab1b6f3df97e89b81809c7e (patch)
tree222b3e4a33bb153b50f1e6414647441f51e96821 /tool
parent051d70fc3e95da1f67015c57b3d2358f23c2de26 (diff)
downloadgnome-keyring-0184447d6a6930e7fab1b6f3df97e89b81809c7e.tar.gz
Fix for deprecations in glib 2.35.0
* g_type_init() was deprecated
Diffstat (limited to 'tool')
-rw-r--r--tool/gkr-tool.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/gkr-tool.c b/tool/gkr-tool.c
index f783802d..89ed02d0 100644
--- a/tool/gkr-tool.c
+++ b/tool/gkr-tool.c
@@ -114,8 +114,10 @@ main (int argc, char *argv[])
{
CommandInfo *cmd;
int ret = -1;
-
+
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
#ifdef HAVE_LOCALE_H
/* internationalisation */