aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 7157648b7..d57094ddf 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -823,12 +823,10 @@ tab_label_style_set_cb (GtkWidget *label,
static GtkWidget *
build_tab_label (EphyNotebook *nb, EphyTab *tab)
{
- GtkWidget *window, *hbox, *label_hbox, *label_ebox;
+ GtkWidget *hbox, *label_hbox, *label_ebox;
GtkWidget *label, *close_button, *image, *spinner, *icon;
GtkIconSize close_icon_size;
- window = gtk_widget_get_toplevel (GTK_WIDGET (nb));
-
/* set hbox spacing and label padding (see below) so that there's an
* equal amount of space around the label */
hbox = gtk_hbox_new (FALSE, 4);