summaryrefslogtreecommitdiff
path: root/gtk/gtkcellareaboxcontext.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-02 17:09:44 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-02 17:09:44 +0900
commit2bf8f7eab9ac2cec2239ca037689d6a465156b7e (patch)
treeda358aae68c84e39ea4dc9f0bf31cc7ef55fca4a /gtk/gtkcellareaboxcontext.c
parent03a72118add37e6df51c12dba6c62298e810d41a (diff)
downloadgtk+-2bf8f7eab9ac2cec2239ca037689d6a465156b7e.tar.gz
Removed unused variable from GtkCellAreaBoxContext.
Diffstat (limited to 'gtk/gtkcellareaboxcontext.c')
-rw-r--r--gtk/gtkcellareaboxcontext.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk/gtkcellareaboxcontext.c b/gtk/gtkcellareaboxcontext.c
index 6ed66d3998..cc4c0b4c48 100644
--- a/gtk/gtkcellareaboxcontext.c
+++ b/gtk/gtkcellareaboxcontext.c
@@ -404,12 +404,11 @@ static void
gtk_cell_area_box_context_sum (GtkCellAreaBoxContext *context,
GtkOrientation orientation)
{
- GtkCellAreaBoxContextPrivate *priv = context->priv;
- GtkCellArea *area;
- GtkOrientation box_orientation;
- GArray *array;
- gint spacing, i;
- gint min_size = 0, nat_size = 0;
+ GtkCellArea *area;
+ GtkOrientation box_orientation;
+ GArray *array;
+ gint spacing, i;
+ gint min_size = 0, nat_size = 0;
area = gtk_cell_area_context_get_area (GTK_CELL_AREA_CONTEXT (context));
spacing = gtk_cell_area_box_get_spacing (GTK_CELL_AREA_BOX (area));