diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-15 13:36:52 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-15 13:36:52 +0100 |
commit | 782f9380134734731a1547970d4bc9ab7b57410e (patch) | |
tree | 7eb70094291eba25b2c441871fcd87b8c3cfb6bb /src | |
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 'src')
-rw-r--r-- | src/caja-pathbar.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c index 667046e6..8b8cd1ef 100644 --- a/src/caja-pathbar.c +++ b/src/caja-pathbar.c @@ -1206,7 +1206,9 @@ caja_path_bar_scroll_timeout (CajaPathBar *path_bar) { gboolean retval = FALSE; +#if !GTK_CHECK_VERSION (3, 0, 0) GDK_THREADS_ENTER (); +#endif if (path_bar->timer) { @@ -1236,8 +1238,9 @@ caja_path_bar_scroll_timeout (CajaPathBar *path_bar) } } - +#if !GTK_CHECK_VERSION (3, 0, 0) GDK_THREADS_LEAVE (); +#endif return retval; } |