diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index e2b6e343c1..6f34ec1b39 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3896,7 +3896,6 @@ void gtk_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation) { - GtkWidgetAuxInfo *aux_info; GdkRectangle real_allocation; GdkRectangle old_allocation; gboolean alloc_needed; @@ -3933,15 +3932,6 @@ gtk_widget_size_allocate (GtkWidget *widget, old_allocation = widget->allocation; real_allocation = *allocation; - aux_info =_gtk_widget_get_aux_info (widget, FALSE); - - if (aux_info) - { - if (aux_info->x_set) - real_allocation.x = aux_info->x; - if (aux_info->y_set) - real_allocation.y = aux_info->y; - } if (real_allocation.width < 0 || real_allocation.height < 0) { diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index e5f722050e..4b35ca3b2d 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -540,13 +540,8 @@ struct _GtkWidgetClass struct _GtkWidgetAuxInfo { - gint x; - gint y; gint width; gint height; - - guint x_set : 1; - guint y_set : 1; }; struct _GtkWidgetShapeInfo