From 0184447d6a6930e7fab1b6f3df97e89b81809c7e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 22 Oct 2012 16:55:39 +0200 Subject: Fix for deprecations in glib 2.35.0 * g_type_init() was deprecated --- tool/gkr-tool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tool') 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 */ -- cgit v1.2.1