use a hbox instead of an alignment.

2003-09-24  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned): use a
	hbox instead of an alignment.
This commit is contained in:
Sven Neumann 2003-09-24 13:23:20 +00:00 committed by Sven Neumann
parent 973ae7b5dc
commit 67f97bbb6e
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2003-09-24 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned): use a
hbox instead of an alignment.
2003-09-23 Sven Neumann <sven@gimp.org>
* app/gui/resize-dialog.c

View File

@ -1511,13 +1511,12 @@ gimp_table_attach_aligned (GtkTable *table,
if (left_align)
{
GtkWidget *alignment;
GtkWidget *hbox = gtk_hbox_new (FALSE, 0);
alignment = gtk_alignment_new (0.0, 0.5, 0.0, 0.0);
gtk_container_add (GTK_CONTAINER (alignment), widget);
gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
widget = alignment;
widget = hbox;
}
gtk_table_attach (table, widget,