Commit 3b68d7db authored by James Henstridge's avatar James Henstridge Committed by James Henstridge

fix use of magic constant "-1" in the aux info structure.

2001-03-31  James Henstridge  <james@daa.com.au>

        * gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
        constant "-1" in the aux info structure.
parent aa209a95
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
......
......@@ -2169,9 +2169,9 @@ gtk_widget_size_allocate (GtkWidget *widget,
if (aux_info)
{
if (aux_info->x != -1)
if (aux_info->x_set)
real_allocation.x = aux_info->x;
if (aux_info->y != -1)
if (aux_info->y_set)
real_allocation.y = aux_info->y;
}
......
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