diff options
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; } |