aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-09-01 02:44:07 +0800
committerXan Lopez <xan@igalia.com>2012-09-01 02:44:07 +0800
commitddd81d9874a7ca9970cab5cbb3be1c192053a73a (patch)
tree2da9f15bcab231cc87f800a02ad282e00287f3f5 /src
parent195bb27b6c0f710f1d7faff452de71dbb07a9604 (diff)
downloadgsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.tar
gsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.tar.gz
gsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.tar.bz2
gsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.tar.lz
gsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.tar.xz
gsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.tar.zst
gsoc2013-epiphany-ddd81d9874a7ca9970cab5cbb3be1c192053a73a.zip
ephy-notebook: fix compiler warning
Diffstat (limited to 'src')
-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;