summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-10 15:03:06 +0200
committerStefano Karapetsas <[email protected]>2014-05-10 15:03:06 +0200
commit4796e9bf097fd481798d58092fe95951e99e79dd (patch)
treee22952f3e0fd1b06d9177de810eb3119cbe3e459 /test
parent30f835823d9f92d214f81225196fa7b0ea9e93e0 (diff)
parenta2ab27abdf58a2910b1c24b2612cee0e1052418c (diff)
downloadcaja-4796e9bf097fd481798d58092fe95951e99e79dd.tar.bz2
caja-4796e9bf097fd481798d58092fe95951e99e79dd.tar.xz
Merge pull request #275 from NiceandGently/master
fix some compile warnings
Diffstat (limited to 'test')
-rw-r--r--test/test-caja-search-engine.c4
-rw-r--r--test/test-copy.c4
2 files changed, 6 insertions, 2 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);
diff --git a/test/test-copy.c b/test/test-copy.c
index 5eaab1e5..81407812 100644
--- a/test/test-copy.c
+++ b/test/test-copy.c
@@ -45,7 +45,9 @@ main (int argc, char* argv[])
GList *infos;
CajaProgressInfo *progress_info;
- g_thread_init (NULL);
+#if !GLIB_CHECK_VERSION (2, 32, 0)
+ g_thread_init (NULL);
+#endif
test_init (&argc, &argv);