From 8bfd94696b72279f740e7008d670c127ef4acc0c Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Fri, 19 Apr 2013 12:01:50 +0300 Subject: [PATCH 1/2] Add version check because g_thread_init is deprecated --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index cdc990a..b01891f 100644 --- a/src/main.c +++ b/src/main.c @@ -95,7 +95,9 @@ main(int argc, char **argv) textdomain (GETTEXT_PACKAGE); #endif + #if !GLIB_CHECK_VERSION (2, 32, 0) g_thread_init(NULL); + #endif gdk_threads_init(); if(!gtk_init_with_args(&argc, &argv, "", entries, PACKAGE, &cli_error)) -- 1.7.10.4