]> git.0d.be Git - empathy.git/commitdiff
stop using g_thread_init
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 25 Oct 2011 13:30:05 +0000 (15:30 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 5 Apr 2012 13:26:32 +0000 (15:26 +0200)
It has been deprecated in GLib 2.31.

https://bugzilla.gnome.org/show_bug.cgi?id=662662

src/empathy-accounts.c
src/empathy-auth-client.c
src/empathy-av.c
src/empathy-call.c
src/empathy-chat.c
src/empathy-debugger.c
src/empathy.c
tests/interactive/empathy-logs.c

index 6b51820f7e3d53f88b63179319ca8790a16a0ebc..7b2964c4b80cc1128d4594b3262c02b545be6184 100644 (file)
@@ -222,7 +222,6 @@ main (int argc, char *argv[])
   GObjectClass *app_class;
   gint retval;
 
-  g_thread_init (NULL);
   empathy_init ();
 
   gtk_init (&argc, &argv);
index ecf1ad1736c1c3473f064b2786b583f8496a76a3..ee33703feb863c0925be37bc332578577caee4b1 100644 (file)
@@ -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);
index 70acfc4f331682a4abec5f26e840b20950ec39be..e65bef33bec148f215c7ed7ab099c14de0e34517 100644 (file)
@@ -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));
index 207f32f2585d6df352b7bc1f19ed743fb5e6c73c..5c3633be572d5ee03d47b0d03dcb60d059bccded 100644 (file)
@@ -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 */
index bebca43823a6c5a904b3ee94a91b9218c6ac85f3..66ad346e77312e76082e9986e98942b57925847d 100644 (file)
@@ -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);
index 0bf34e015c908d3c6a4e12561361032862008252..c63a5b57bd43f781e24d16b5fa8b3a4caf2dbc3d 100644 (file)
@@ -101,7 +101,6 @@ main (int argc,
   GtkApplication *app;
   gint retval;
 
-  g_thread_init (NULL);
   gtk_init (&argc, &argv);
   empathy_gtk_init ();
 
index c629621dd3f3acf40d308e31c2b2025e2417e48c..2876edf8414cf9f1c9c2474f13fd1be568c1cdfb 100644 (file)
@@ -822,7 +822,6 @@ main (int argc, char *argv[])
   EmpathyApp *app;
   gint retval;
 
-  g_thread_init (NULL);
   g_type_init ();
 
 #ifdef HAVE_LIBCHAMPLAIN
index 76717596e7904a98b894e16a05e9cadc952cb6b6..0ed9f95e4f775ca8cd9221b72ab4bc8c66ae9d0d 100644 (file)
@@ -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);