[evolution/gnome-3-3-1: 1/2] Remove g_thread_init() calls.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-3-1: 1/2] Remove g_thread_init() calls.
- Date: Wed, 26 Oct 2011 20:22:29 +0000 (UTC)
commit 09c88ab42b013c758a7c04ca73947ee7abd832c7
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Oct 26 16:04:22 2011 -0400
Remove g_thread_init() calls.
g_type_init() already calls it, and has for several GLib releases.
capplet/anjal-settings-main.c | 3 ---
capplet/settings/mail-guess-servers.c | 2 +-
shell/main.c | 2 --
3 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c
index 99e0b4a..7efddcf 100644
--- a/capplet/anjal-settings-main.c
+++ b/capplet/anjal-settings-main.c
@@ -167,9 +167,6 @@ main (gint argc,
if (!gtk_init_with_args (&argc, &argv, NULL, entries, NULL, &error))
g_error ("%s", error->message);
- if (!g_thread_get_initialized ())
- g_thread_init (NULL);
-
e_passwords_init ();
categories_icon_theme_hack ();
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c
index 0b14494..8ab9670 100644
--- a/capplet/settings/mail-guess-servers.c
+++ b/capplet/settings/mail-guess-servers.c
@@ -343,7 +343,7 @@ main (gint argc,
gchar **argv)
{
EmailProvider *provider;
- g_thread_init (NULL);
+
g_type_init ();
provider = g_new0 (EmailProvider, 1);
diff --git a/shell/main.c b/shell/main.c
index bb056e3..4599b41 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -492,8 +492,6 @@ main (gint argc,
textdomain (GETTEXT_PACKAGE);
g_type_init ();
- if (!g_thread_get_initialized ())
- g_thread_init (NULL);
/* do not require Gtk+ for --force-shutdown */
if (argc == 2 && argv[1] && g_str_equal (argv[1], "--force-shutdown")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]