pass ->nrows to gtk_table_resize as the first argument for

2001-08-25  Chema Celorio  <chema@celorio.com>

	* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
	gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
	and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
This commit is contained in:
Chema Celorio 2001-08-26 04:01:27 +00:00 committed by Jose Maria Celorio
parent eae09f4d83
commit e0e34e59ea
8 changed files with 51 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -1,3 +1,9 @@
2001-08-25 Chema Celorio <chema@celorio.com>
* gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to
gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH
and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols
2001-08-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
@ -424,6 +430,7 @@ Sun Aug 12 10:39:12 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (EXTRA_DIST): Fix problem with trying to
dist files from intl/, which is no longer there.
>>>>>>> 1.2213
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,

View File

@ -340,14 +340,14 @@ gtk_table_set_child_property (GtkContainer *container,
if (table_child->right_attach <= table_child->left_attach)
table_child->right_attach = table_child->left_attach + 1;
if (table_child->right_attach >= table->ncols)
gtk_table_resize (table, table->ncols, table_child->right_attach);
gtk_table_resize (table, table->nrows, table_child->right_attach);
break;
case CHILD_PROP_RIGHT_ATTACH:
table_child->right_attach = g_value_get_uint (value);
if (table_child->right_attach <= table_child->left_attach)
table_child->left_attach = table_child->right_attach - 1;
if (table_child->right_attach >= table->ncols)
gtk_table_resize (table, table->ncols, table_child->right_attach);
gtk_table_resize (table, table->nrows, table_child->right_attach);
break;
case CHILD_PROP_TOP_ATTACH:
table_child->top_attach = g_value_get_uint (value);