aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)