Added missing else

This commit is contained in:
Owen Taylor
1998-08-04 15:07:55 +00:00
parent f7a5303612
commit ed3c12aa5f
8 changed files with 14 additions and 13 deletions

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -14,7 +14,7 @@ Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.[ch]: Empty rows/columns of the table * gtk/gtktable.[ch]: Empty rows/columns of the table
should not have been marked as being able to shrink. should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases) (Fixes problem with shrinking scrollbarless GIMP canvases)
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

View File

@ -1234,12 +1234,13 @@ gtk_table_size_allocate_init (GtkTable *table)
table->rows[row].expand = FALSE; table->rows[row].expand = FALSE;
table->rows[row].shrink = FALSE; table->rows[row].shrink = FALSE;
} }
{ else
if (table->rows[row].need_expand) {
table->rows[row].expand = TRUE; if (table->rows[row].need_expand)
if (!table->rows[row].need_shrink) table->rows[row].expand = TRUE;
table->rows[row].shrink = FALSE; if (!table->rows[row].need_shrink)
} table->rows[row].shrink = FALSE;
}
} }
} }