[tracker] Remove remaining g_thread_init calls
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Remove remaining g_thread_init calls
- Date: Thu, 15 Dec 2011 10:04:59 +0000 (UTC)
commit eb01c8f3d25b38fe1e1a671cbe152d938003a29d
Author: JÃrg Billeter <j bitron ch>
Date: Thu Dec 15 11:04:19 2011 +0100
Remove remaining g_thread_init calls
Calling g_thread_init with GLib 2.31 requires explicit dependency on
gthread-2.0. However, g_type_init initializes threads since GLib 2.24,
so it is no longer needed.
src/miners/flickr/Makefile.am | 1 -
tests/libtracker-miner/tracker-file-system-test.c | 1 -
.../libtracker-miner/tracker-indexing-tree-test.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/flickr/Makefile.am b/src/miners/flickr/Makefile.am
index 5ccf718..ee5fb93 100644
--- a/src/miners/flickr/Makefile.am
+++ b/src/miners/flickr/Makefile.am
@@ -3,7 +3,6 @@ include $(top_srcdir)/Makefile.decl
libexec_PROGRAMS = tracker-miner-flickr
AM_VALAFLAGS = \
- --thread \
--pkg gio-2.0 --pkg rest-0.6 --pkg posix \
$(BUILD_VALAFLAGS) \
$(top_srcdir)/src/libtracker-sparql/tracker-sparql- TRACKER_API_VERSION@.vapi \
diff --git a/tests/libtracker-miner/tracker-file-system-test.c b/tests/libtracker-miner/tracker-file-system-test.c
index 3b22e03..7967e47 100644
--- a/tests/libtracker-miner/tracker-file-system-test.c
+++ b/tests/libtracker-miner/tracker-file-system-test.c
@@ -235,7 +235,6 @@ gint
main (gint argc,
gchar **argv)
{
- g_thread_init (NULL);
g_type_init ();
g_test_init (&argc, &argv, NULL);
diff --git a/tests/libtracker-miner/tracker-indexing-tree-test.c b/tests/libtracker-miner/tracker-indexing-tree-test.c
index daa4b2f..3778db3 100644
--- a/tests/libtracker-miner/tracker-indexing-tree-test.c
+++ b/tests/libtracker-miner/tracker-indexing-tree-test.c
@@ -947,7 +947,6 @@ gint
main (gint argc,
gchar **argv)
{
- g_thread_init (NULL);
g_type_init ();
g_test_init (&argc, &argv, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]