summaryrefslogtreecommitdiff
path: root/gtk/gtktable.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktable.c')
-rw-r--r--gtk/gtktable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktable.c b/gtk/gtktable.c
index 006fc4ec79..eb94c5d733 100644
--- a/gtk/gtktable.c
+++ b/gtk/gtktable.c
@@ -1487,6 +1487,7 @@ gtk_table_size_allocate_pass1 (GtkTable *table)
real_width = GTK_WIDGET (table)->allocation.width - GTK_CONTAINER (table)->border_width * 2;
real_height = GTK_WIDGET (table)->allocation.height - GTK_CONTAINER (table)->border_width * 2;
+ natural_delta = 0;
if (table->homogeneous)
{
@@ -1521,7 +1522,6 @@ gtk_table_size_allocate_pass1 (GtkTable *table)
width = 0;
nexpand = 0;
nshrink = 0;
- natural_delta = 0;
for (col = 0; col < table->ncols; col++)
{