From d82217183f0fc34bc7d33b545121a88be78985ef Mon Sep 17 00:00:00 2001 From: Burt P Date: Mon, 31 Jul 2017 01:45:33 -0500 Subject: Remove unnecessary GTK_CHECK_VERSION()s Require 2.10, so checking anything less isn't needed. Signed-off-by: Burt P --- shell/callbacks.c | 2 -- shell/shell.c | 2 -- 2 files changed, 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,10 +854,8 @@ 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 */ -- cgit v1.2.3