diff options
Diffstat (limited to 'src/terminal-tabs-menu.c')
-rw-r--r-- | src/terminal-tabs-menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/terminal-tabs-menu.c b/src/terminal-tabs-menu.c index 56e427b..f891d47 100644 --- a/src/terminal-tabs-menu.c +++ b/src/terminal-tabs-menu.c @@ -265,11 +265,7 @@ notebook_page_reordered_cb (GtkNotebook *notebook, static void notebook_page_switch_cb (GtkNotebook *notebook, -#if GTK_CHECK_VERSION (2, 90, 6) GtkWidget *page, -#else - gpointer page, -#endif guint position, TerminalTabsMenu *menu) { @@ -277,11 +273,7 @@ notebook_page_switch_cb (GtkNotebook *notebook, TerminalScreen *screen; GtkAction *action; -#if GTK_CHECK_VERSION (2, 90, 6) container = TERMINAL_SCREEN_CONTAINER (page); -#else - container = TERMINAL_SCREEN_CONTAINER (gtk_notebook_get_nth_page (notebook, position)); -#endif screen = terminal_screen_container_get_screen (container); action = g_object_get_data (G_OBJECT (screen), DATA_KEY); |