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.
This commit is contained in:
James Henstridge 2001-03-31 00:48:37 +00:00 committed by James Henstridge
parent aa209a95fa
commit 3b68d7db89
8 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -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;
}