diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-25 21:30:05 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-05 21:26:32 +0800 |
commit | ee2e583ba62e7bc1b6765a8115a78a4a74818d61 (patch) | |
tree | ba4b90d85678f02b1bd51fc678bc8852f9a34996 | |
parent | 884989d0837b2fa11905650ab098cd26c970edd7 (diff) | |
download | gsoc2013-empathy-ee2e583ba62e7bc1b6765a8115a78a4a74818d61.tar.gz gsoc2013-empathy-ee2e583ba62e7bc1b6765a8115a78a4a74818d61.tar.zst gsoc2013-empathy-ee2e583ba62e7bc1b6765a8115a78a4a74818d61.zip |
stop using g_thread_init
It has been deprecated in GLib 2.31.
https://bugzilla.gnome.org/show_bug.cgi?id=662662
-rw-r--r-- | src/empathy-accounts.c | 1 | ||||
-rw-r--r-- | src/empathy-auth-client.c | 2 | ||||
-rw-r--r-- | src/empathy-av.c | 3 | ||||
-rw-r--r-- | src/empathy-call.c | 3 | ||||
-rw-r--r-- | src/empathy-chat.c | 3 | ||||
-rw-r--r-- | src/empathy-debugger.c | 1 | ||||
-rw-r--r-- | src/empathy.c | 1 | ||||
-rw-r--r-- | tests/interactive/empathy-logs.c | 1 |
8 files changed, 0 insertions, 15 deletions
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 diff --git a/tests/interactive/empathy-logs.c b/tests/interactive/empathy-logs.c index 76717596e..0ed9f95e4 100644 --- a/tests/interactive/empathy-logs.c +++ b/tests/interactive/empathy-logs.c @@ -58,7 +58,6 @@ main (int argc, { TpAccountManager *mgr; - g_thread_init (NULL); gtk_init (&argc, &argv); empathy_gtk_init (); g_set_application_name (PACKAGE_NAME); |