[Xfce4-commits] [apps/ristretto] 01/03: Add version check because g_thread_init is deprecated
noreply at xfce.org
noreply at xfce.org
Sun Jan 18 09:23:06 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository apps/ristretto.
commit 6634357285528ac87032f1883158ae3f027154ac
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Fri Apr 19 12:01:50 2013 +0300
Add version check because g_thread_init is deprecated
Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
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))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list