summaryrefslogtreecommitdiff
path: root/gtk/gtktable.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-01-20 12:52:10 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-01-20 12:52:10 +0000
commit4238d5574002e82e3717a4dba769478fce35d34c (patch)
treea23587e02130bbfb399d96eff180e0c33b0ff487 /gtk/gtktable.c
parentd867b9a8df0990a0dbee8d7ba0028eb535965b03 (diff)
downloadgdk-pixbuf-4238d5574002e82e3717a4dba769478fce35d34c.tar.gz
Fix assertion.
Mon Jan 20 13:59:53 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktable.c (gtk_table_resize): Fix assertion.
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 f10578a94..1b6270583 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);