summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-daemon.c2
-rw-r--r--shell/main.c6
2 files changed, 0 insertions, 8 deletions
diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c
index e9c2f0ae..c242e550 100644
--- a/shell/ev-daemon.c
+++ b/shell/ev-daemon.c
@@ -521,8 +521,6 @@ main (gint argc, gchar **argv)
g_set_prgname ("atril-daemon");
- g_type_init ();
-
loop = g_main_loop_new (NULL, FALSE);
pending_invocations = g_hash_table_new_full (g_str_hash,
diff --git a/shell/main.c b/shell/main.c
index 3164d3da..367e0977 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -260,12 +260,6 @@ main (int argc, char *argv[])
}
#endif
-#if !GLIB_CHECK_VERSION (2, 32, 0)
- /* Init glib threads asap */
- if (!g_thread_supported ())
- g_thread_init (NULL);
-#endif
-
#ifdef ENABLE_NLS
/* Initialize the i18n stuff */
bindtextdomain (GETTEXT_PACKAGE, ev_get_locale_dir());