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:
parent
aa209a95fa
commit
3b68d7db89
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user