[gtk+] notebook: Remove unused variables
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: Remove unused variables
- Date: Thu, 29 Sep 2011 02:24:50 +0000 (UTC)
commit a9affcdd3f9c888c5e68dc76b0c5173d918bc725
Author: Benjamin Otte <otte redhat com>
Date: Thu Sep 29 04:23:16 2011 +0200
notebook: Remove unused variables
gtk/gtknotebook.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 02012e9..53213a7 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -5044,7 +5044,6 @@ gtk_notebook_paint (GtkWidget *widget,
gboolean is_rtl;
gint tab_pos;
GtkStyleContext *context;
- GtkRegionFlags tab_flags;
notebook = GTK_NOTEBOOK (widget);
priv = notebook->priv;
@@ -5256,7 +5255,6 @@ gtk_notebook_draw_tab (GtkNotebook *notebook,
GtkNotebookPrivate *priv;
GtkWidget *widget;
GtkStyleContext *context;
- GtkStateFlags state = 0;
if (!NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page) ||
!gtk_widget_get_mapped (page->tab_label) ||
@@ -5268,7 +5266,6 @@ gtk_notebook_draw_tab (GtkNotebook *notebook,
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
- state = notebook_tab_prepare_style_context (notebook, page, context, use_flags);
gtk_render_extension (context, cr,
page->allocation.x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]