mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Fix assertion.
Mon Jan 20 13:59:53 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktable.c (gtk_table_resize): Fix assertion.
This commit is contained in:
parent
d867b9a8df
commit
4238d55740
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user