aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ephy-notebook.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 2fb091482..90bb08044 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -209,7 +209,6 @@ is_in_notebook_window (EphyNotebook *notebook,
static gint
find_tab_num_at_pos (EphyNotebook *notebook, gint abs_x, gint abs_y)
{
- GtkPositionType tab_pos;
int page_num = 0;
GtkNotebook *nb = GTK_NOTEBOOK (notebook);
GtkWidget *page;
@@ -221,8 +220,6 @@ find_tab_num_at_pos (EphyNotebook *notebook, gint abs_x, gint abs_y)
return NOT_IN_APP_WINDOWS;
}
- tab_pos = gtk_notebook_get_tab_pos (nb);
-
while ((page = gtk_notebook_get_nth_page (nb, page_num)))
{
GtkWidget *tab;