diff options
Diffstat (limited to 'capplet')
-rw-r--r-- | capplet/anjal-settings-main.c | 5 | ||||
-rw-r--r-- | capplet/settings/mail-capplet-shell.c | 2 | ||||
-rw-r--r-- | capplet/settings/mail-guess-servers.c | 4 |
3 files changed, 2 insertions, 9 deletions
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c index 91e36904c7..7efddcffbf 100644 --- a/capplet/anjal-settings-main.c +++ b/capplet/anjal-settings-main.c @@ -167,11 +167,6 @@ main (gint argc, if (!gtk_init_with_args (&argc, &argv, NULL, entries, NULL, &error)) g_error ("%s", error->message); - #if !GLIB_CHECK_VERSION(2,31,0) - if (!g_thread_get_initialized ()) - g_thread_init (NULL); - #endif - e_passwords_init (); categories_icon_theme_hack (); diff --git a/capplet/settings/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c index 6567da02ac..2bf464c7c0 100644 --- a/capplet/settings/mail-capplet-shell.c +++ b/capplet/settings/mail-capplet-shell.c @@ -278,7 +278,7 @@ mail_capplet_shell_construct (MailCappletShell *shell, mail_config_init (session); mail_msg_init (); custom_dir = g_build_filename (e_get_user_data_dir (), "mail", NULL); - e_mail_store_init (shell->priv->backend, custom_dir); + e_mail_store_init (session, custom_dir); g_free (custom_dir); if (just_druid) { diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c index 0b15271a88..8ab9670e8c 100644 --- a/capplet/settings/mail-guess-servers.c +++ b/capplet/settings/mail-guess-servers.c @@ -343,9 +343,7 @@ main (gint argc, gchar **argv) { EmailProvider *provider; - #if !GLIB_CHECK_VERSION(2,31,0) - g_thread_init (NULL); - #endif + g_type_init (); provider = g_new0 (EmailProvider, 1); |