[empathy] stop using g_thread_init
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] stop using g_thread_init
- Date: Thu, 5 Apr 2012 13:35:55 +0000 (UTC)
commit ee2e583ba62e7bc1b6765a8115a78a4a74818d61
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Oct 25 15:30:05 2011 +0200
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 -
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 6b51820..7b2964c 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 ecf1ad1..ee33703 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 70acfc4..e65bef3 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 207f32f..5c3633b 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 bebca43..66ad346 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 0bf34e0..c63a5b5 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 c629621..2876edf 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 7671759..0ed9f95 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]