diff options
author | Wolfgang Ulbrich <chat-to-me@raveit.de> | 2016-01-15 13:36:52 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <chat-to-me@raveit.de> | 2016-01-15 13:36:52 +0100 |
commit | 782f9380134734731a1547970d4bc9ab7b57410e (patch) | |
tree | 7eb70094291eba25b2c441871fcd87b8c3cfb6bb /eel | |
parent | 8187e18cc3044d8a9e9da1bb959b543a2afcb980 (diff) | |
download | caja-782f9380134734731a1547970d4bc9ab7b57410e.tar.bz2 caja-782f9380134734731a1547970d4bc9ab7b57410e.tar.xz |
GTK3: don't use deprecated gdk_threads_{enter/leave} ()
Since we don't ever call gdk_threads_init()
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index f1f7068d..55d983c8 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3269,7 +3269,9 @@ idle_handler (gpointer data) { EelCanvas *canvas; +#if !GTK_CHECK_VERSION (3, 0, 0) GDK_THREADS_ENTER (); +#endif canvas = EEL_CANVAS (data); do_update (canvas); @@ -3277,7 +3279,9 @@ idle_handler (gpointer data) /* Reset idle id */ canvas->idle_id = 0; +#if !GTK_CHECK_VERSION (3, 0, 0) GDK_THREADS_LEAVE (); +#endif return FALSE; } |