forked from AuroraMiddleware/gtk
Small fix to my previous GtkTable commit -miguel
This commit is contained in:
parent
7b2f9afe4c
commit
4fb20bdbcc
@ -321,6 +321,7 @@ gtk_table_set_row_spacings (GtkTable *table,
|
|||||||
g_return_if_fail (table != NULL);
|
g_return_if_fail (table != NULL);
|
||||||
g_return_if_fail (GTK_IS_TABLE (table));
|
g_return_if_fail (GTK_IS_TABLE (table));
|
||||||
|
|
||||||
|
table->row_spacing = spacing;
|
||||||
for (row = 0; row < table->nrows - 1; row++)
|
for (row = 0; row < table->nrows - 1; row++)
|
||||||
table->rows[row].spacing = spacing;
|
table->rows[row].spacing = spacing;
|
||||||
|
|
||||||
@ -337,6 +338,7 @@ gtk_table_set_col_spacings (GtkTable *table,
|
|||||||
g_return_if_fail (table != NULL);
|
g_return_if_fail (table != NULL);
|
||||||
g_return_if_fail (GTK_IS_TABLE (table));
|
g_return_if_fail (GTK_IS_TABLE (table));
|
||||||
|
|
||||||
|
table->column_spacing = spacing;
|
||||||
for (col = 0; col < table->ncols - 1; col++)
|
for (col = 0; col < table->ncols - 1; col++)
|
||||||
table->cols[col].spacing = spacing;
|
table->cols[col].spacing = spacing;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user