summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/evbp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/evbp.c b/src/evbp.c
index a1a8dab..933e3e1 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -77,10 +77,8 @@ ev_initialize(void)
} else
g_debug("initializing evince");
- /* Init g_type and g_thread asap */
- g_type_init();
- if (!g_thread_supported())
- g_thread_init(NULL);
+ /* Init gtk asap */
+ gtk_init(NULL, NULL);
/* Initialize evince */
if (!ev_init()) {