summaryrefslogtreecommitdiff
path: root/test/test-caja-search-engine.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-03-22 19:13:58 +0100
committerraveit65 <[email protected]>2014-03-22 19:13:58 +0100
commita395859226fd2532b5a8a59757c460ccbd26ded0 (patch)
treefc18624d51918ca042a169d3f975cb44326735d6 /test/test-caja-search-engine.c
parente0d7a6b033f7ae2bbd504af86aec009def16d6d5 (diff)
downloadcaja-a395859226fd2532b5a8a59757c460ccbd26ded0.tar.bz2
caja-a395859226fd2532b5a8a59757c460ccbd26ded0.tar.xz
fix some g_thread_init deprecations
Diffstat (limited to 'test/test-caja-search-engine.c')
-rw-r--r--test/test-caja-search-engine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-caja-search-engine.c b/test/test-caja-search-engine.c
index 6a4ace70..6695f916 100644
--- a/test/test-caja-search-engine.c
+++ b/test/test-caja-search-engine.c
@@ -34,7 +34,9 @@ main (int argc, char* argv[])
CajaSearchEngine *engine;
CajaQuery *query;
- g_thread_init (NULL);
+#if !GLIB_CHECK_VERSION (2, 32, 0)
+ g_thread_init (NULL);
+#endif
gtk_init (&argc, &argv);