diff options
Diffstat (limited to 'shell/shell.c')
-rw-r--r-- | shell/shell.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/shell.c b/shell/shell.c index f76af991..d213344d 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -915,10 +915,13 @@ static gboolean reload_section(gpointer data) /* TODO:GTK3 */ #else RANGE_SET_VALUE(info_tree, vscrollbar, pos_info_scroll); - RANGE_SET_VALUE(detail_view, vscrollbar, pos_detail_scroll); #endif } +#if !GTK_CHECK_VERSION(3, 0, 0) + RANGE_SET_VALUE(detail_view, vscrollbar, pos_detail_scroll); +#endif + /* make the window drawable again */ #if GTK_CHECK_VERSION(2, 14, 0) gdk_window_thaw_updates(gdk_window); |