diff options
author | raveit65 <[email protected]> | 2015-09-02 14:14:46 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-06 13:08:32 +0200 |
commit | a3362f16408b7d4e36c917e384dd346cc8cc40c4 (patch) | |
tree | b26c9c3e8170db2e7b576fddef2711dd20e1fa50 /src/eom-image.c | |
parent | f63ce7c886a645dcdde4002c2c1727d3aea102d9 (diff) | |
download | eom-a3362f16408b7d4e36c917e384dd346cc8cc40c4.tar.bz2 eom-a3362f16408b7d4e36c917e384dd346cc8cc40c4.tar.xz |
Gtk3: Don't call gdk_threads_init()
taken from:
https://git.gnome.org/browse/eog/commit/?id=757128b
Diffstat (limited to 'src/eom-image.c')
-rw-r--r-- | src/eom-image.c | 6 |
1 files changed, 3 insertions, 3 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 |