summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2011-10-31 16:58:02 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2011-10-31 16:58:02 -0400
commit2a3a0d0194ffd9342aaedbdecdb38adaf3671c7f (patch)
tree9826e31db6d7af1cfca3f536692b1b32e959679f /src
parentb464c2928c2bd8ded61d3e7077513f107ca7f1ce (diff)
Remove call to g_thread_init()
This is automatically called by g_type_init() since glib 2.23 and is now deprecated. https://bugs.freedesktop.org/show_bug.cgi?id=42284
Diffstat (limited to 'src')
-rw-r--r--src/telepathy-logger.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/telepathy-logger.c b/src/telepathy-logger.c
index e47b4ed..25df9fe 100644
--- a/src/telepathy-logger.c
+++ b/src/telepathy-logger.c
@@ -146,18 +146,6 @@ main (int argc,
g_set_prgname (PACKAGE_NAME);
- /* initialise thread support. It can be called just once, so check it already
- * ON and call if if it's not.
- * Threads are needed by Async APIs.
- */
- if (!g_thread_supported ())
- {
- DEBUG ("Initializing GThread");
- g_thread_init (NULL);
- }
- else
- DEBUG ("GThread already initialized. Brilliant!");
-
tp_debug_divert_messages (g_getenv ("TPL_LOGFILE"));
#ifdef ENABLE_DEBUG