summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
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();