Commit a9affcdd authored by Benjamin Otte's avatar Benjamin Otte

notebook: Remove unused variables

parent 11e17601
...@@ -5044,7 +5044,6 @@ gtk_notebook_paint (GtkWidget *widget, ...@@ -5044,7 +5044,6 @@ gtk_notebook_paint (GtkWidget *widget,
gboolean is_rtl; gboolean is_rtl;
gint tab_pos; gint tab_pos;
GtkStyleContext *context; GtkStyleContext *context;
GtkRegionFlags tab_flags;
notebook = GTK_NOTEBOOK (widget); notebook = GTK_NOTEBOOK (widget);
priv = notebook->priv; priv = notebook->priv;
...@@ -5256,7 +5255,6 @@ gtk_notebook_draw_tab (GtkNotebook *notebook, ...@@ -5256,7 +5255,6 @@ gtk_notebook_draw_tab (GtkNotebook *notebook,
GtkNotebookPrivate *priv; GtkNotebookPrivate *priv;
GtkWidget *widget; GtkWidget *widget;
GtkStyleContext *context; GtkStyleContext *context;
GtkStateFlags state = 0;
if (!NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page) || if (!NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page) ||
!gtk_widget_get_mapped (page->tab_label) || !gtk_widget_get_mapped (page->tab_label) ||
...@@ -5268,7 +5266,6 @@ gtk_notebook_draw_tab (GtkNotebook *notebook, ...@@ -5268,7 +5266,6 @@ gtk_notebook_draw_tab (GtkNotebook *notebook,
context = gtk_widget_get_style_context (widget); context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context); gtk_style_context_save (context);
state = notebook_tab_prepare_style_context (notebook, page, context, use_flags);
gtk_render_extension (context, cr, gtk_render_extension (context, cr,
page->allocation.x, page->allocation.x,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment