summaryrefslogtreecommitdiff
path: root/shell
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
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')
-rwxr-xr-xshell/callbacks.c2
-rwxr-xr-xshell/shell.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/shell/callbacks.c b/shell/callbacks.c
index 9a5461fa..1b47b1dc 100755
--- a/shell/callbacks.c
+++ b/shell/callbacks.c
@@ -212,9 +212,7 @@ void cb_about()
"You should have received a copy of the GNU General Public License "
"along with this program; if not, write to the Free Software "
"Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA"));
-#if GTK_CHECK_VERSION(2,8,0)
gtk_about_dialog_set_wrap_license(GTK_ABOUT_DIALOG(about), TRUE);
-#endif
gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(about), authors);
gtk_about_dialog_set_artists(GTK_ABOUT_DIALOG(about), artists);
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)