From ee2e583ba62e7bc1b6765a8115a78a4a74818d61 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 25 Oct 2011 15:30:05 +0200 Subject: stop using g_thread_init It has been deprecated in GLib 2.31. https://bugzilla.gnome.org/show_bug.cgi?id=662662 --- src/empathy-accounts.c | 1 - src/empathy-auth-client.c | 2 -- src/empathy-av.c | 3 --- src/empathy-call.c | 3 --- src/empathy-chat.c | 3 --- src/empathy-debugger.c | 1 - src/empathy.c | 1 - 7 files changed, 14 deletions(-) (limited to 'src') diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c index 6b51820f7..7b2964c4b 100644 --- a/src/empathy-accounts.c +++ b/src/empathy-accounts.c @@ -222,7 +222,6 @@ main (int argc, char *argv[]) GObjectClass *app_class; gint retval; - g_thread_init (NULL); empathy_init (); gtk_init (&argc, &argv); diff --git a/src/empathy-auth-client.c b/src/empathy-auth-client.c index ecf1ad173..ee33703fe 100644 --- a/src/empathy-auth-client.c +++ b/src/empathy-auth-client.c @@ -283,8 +283,6 @@ main (int argc, TpSimpleClientFactory *tp_factory; TpDBusDaemon *dbus; - g_thread_init (NULL); - context = g_option_context_new (N_(" - Empathy authentication client")); g_option_context_add_group (context, gtk_get_option_group (TRUE)); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); diff --git a/src/empathy-av.c b/src/empathy-av.c index 70acfc4f3..e65bef33b 100644 --- a/src/empathy-av.c +++ b/src/empathy-av.c @@ -112,9 +112,6 @@ main (int argc, GError *error = NULL; gint retval; - /* Init */ - g_thread_init (NULL); - optcontext = g_option_context_new (N_("- Empathy Audio/Video Client")); g_option_context_add_group (optcontext, gst_init_get_option_group ()); g_option_context_add_group (optcontext, gtk_get_option_group (TRUE)); diff --git a/src/empathy-call.c b/src/empathy-call.c index 207f32f25..5c3633be5 100644 --- a/src/empathy-call.c +++ b/src/empathy-call.c @@ -186,9 +186,6 @@ main (int argc, gint retval; GtkSettings *gtk_settings; - /* Init */ - g_thread_init (NULL); - #ifdef GDK_WINDOWING_X11 /* We can't call clutter_gst_init() before gtk_clutter_init(), so no choice * but to intiialise X11 threading ourself */ diff --git a/src/empathy-chat.c b/src/empathy-chat.c index bebca4382..66ad346e7 100644 --- a/src/empathy-chat.c +++ b/src/empathy-chat.c @@ -103,9 +103,6 @@ main (int argc, gint retval; EmpathyIndividualManager *individual_mgr; - /* Init */ - g_thread_init (NULL); - optcontext = g_option_context_new (N_("- Empathy Chat Client")); g_option_context_add_group (optcontext, gtk_get_option_group (TRUE)); g_option_context_add_main_entries (optcontext, options, GETTEXT_PACKAGE); diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c index 0bf34e015..c63a5b57b 100644 --- a/src/empathy-debugger.c +++ b/src/empathy-debugger.c @@ -101,7 +101,6 @@ main (int argc, GtkApplication *app; gint retval; - g_thread_init (NULL); gtk_init (&argc, &argv); empathy_gtk_init (); diff --git a/src/empathy.c b/src/empathy.c index c629621dd..2876edf84 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -822,7 +822,6 @@ main (int argc, char *argv[]) EmpathyApp *app; gint retval; - g_thread_init (NULL); g_type_init (); #ifdef HAVE_LIBCHAMPLAIN -- cgit v1.2.3