[epiphany] ephy-notebook: fix compiler warning



commit ddd81d9874a7ca9970cab5cbb3be1c192053a73a
Author: Xan Lopez <xan igalia com>
Date:   Fri Aug 31 20:44:07 2012 +0200

    ephy-notebook: fix compiler warning

 src/ephy-notebook.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 2fb0914..90bb080 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]