diff --git a/gtk/gtktable.c b/gtk/gtktable.c index f10578a949..1b62705831 100644 --- a/gtk/gtktable.c +++ b/gtk/gtktable.c @@ -512,7 +512,7 @@ gtk_table_resize (GtkTable *table, { g_return_if_fail (GTK_IS_TABLE (table)); g_return_if_fail (n_rows > 0 && n_rows < 65536); - g_return_if_fail (n_rows > 0 && n_cols < 65536); + g_return_if_fail (n_cols > 0 && n_cols < 65536); n_rows = MAX (n_rows, 1); n_cols = MAX (n_cols, 1);