aboutsummaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-31 01:45:33 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-08-04 09:22:06 -0700
commitd82217183f0fc34bc7d33b545121a88be78985ef (patch)
tree09064e3b42a289b765f4e356b3e68d2d4ceeff18 /shell/shell.c
parentedcee69f8d9e47e02a44dab9e0e601f553e2ff63 (diff)
Remove unnecessary GTK_CHECK_VERSION()s
Require 2.10, so checking anything less isn't needed. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell/shell.c')
-rwxr-xr-xshell/shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 3cc13128..b81e77b6 100755
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -854,11 +854,9 @@ static gboolean reload_section(gpointer data)
#if GTK_CHECK_VERSION(3, 0, 0)
/* TODO:GTK3 */
#else
-#if GTK_CHECK_VERSION(2, 0, 0)
pos_info_scroll = RANGE_GET_VALUE(info, vscrollbar);
pos_more_scroll = RANGE_GET_VALUE(moreinfo, vscrollbar);
#endif
-#endif
/* avoid drawing the window while we reload */
#if GTK_CHECK_VERSION(2, 14, 0)