summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-image.c6
-rw-r--r--src/main.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index a3ba6bc..3cd8e34 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -478,9 +478,9 @@ do_emit_size_prepared_signal (EomImage *img)
static void
eom_image_emit_size_prepared (EomImage *img)
{
- gdk_threads_add_idle_full (G_PRIORITY_DEFAULT_IDLE,
- (GSourceFunc) do_emit_size_prepared_signal,
- g_object_ref (img), g_object_unref);
+ g_idle_add_full (G_PRIORITY_DEFAULT_IDLE,
+ (GSourceFunc) do_emit_size_prepared_signal,
+ g_object_ref (img), g_object_unref);
}
static gboolean
diff --git a/src/main.c b/src/main.c
index 99d01d2..a581e55 100644
--- a/src/main.c
+++ b/src/main.c
@@ -245,7 +245,6 @@ main (int argc, char **argv)
#endif
eom_debug_init ();
eom_job_queue_init ();
- gdk_threads_init ();
eom_thumbnail_init ();
#if GTK_CHECK_VERSION (3, 0, 0)