From ddd81d9874a7ca9970cab5cbb3be1c192053a73a Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 31 Aug 2012 20:44:07 +0200 Subject: ephy-notebook: fix compiler warning --- src/ephy-notebook.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ephy-notebook.c') 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; -- cgit v1.2.3