Commit e0e34e59 authored by Chema Celorio's avatar Chema Celorio Committed by Jose Maria Celorio

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
parent eae09f4d
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,
......
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,
......
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,
......
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,
......
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,
......
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,
......
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,
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment