StTable: Silence row_span warning for now

This seems to be very noisy and generally harmless so
silence it up for now.

https://bugzilla.gnome.org/show_bug.cgi?id=658939
This commit is contained in:
Adel Gadllah 2011-09-18 10:23:01 +02:00
parent 28349d362c
commit 2140a498a2

View File

@ -641,9 +641,10 @@ st_table_preferred_allocate (ClutterActor *self,
*/ */
if (col + col_span > priv->n_cols) if (col + col_span > priv->n_cols)
g_warning ("StTable: col-span exceeds number of columns"); g_warning ("StTable: col-span exceeds number of columns");
#if 0
if (row + row_span > priv->n_rows) if (row + row_span > priv->n_rows)
g_warning ("StTable: row-span exceeds number of rows"); g_warning ("StTable: row-span exceeds number of rows");
#endif
if (col_span > 1) if (col_span > 1)
{ {
for (i = col + 1; i < col + col_span && i < priv->n_cols; i++) for (i = col + 1; i < col + col_span && i < priv->n_cols; i++)