Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)

Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
        allocation to widget->allocation. (Fixes #67290,
        Chris Phelps.)
This commit is contained in:
Owen Taylor
2001-12-26 17:21:31 +00:00
committed by Owen Taylor
parent e1033f5f5a
commit b48e255d91
8 changed files with 44 additions and 0 deletions

View File

@ -540,6 +540,8 @@ gtk_plug_size_allocate (GtkWidget *widget,
{
GtkBin *bin = GTK_BIN (widget);
widget->allocation = *allocation;
if (GTK_WIDGET_REALIZED (widget))
gdk_window_move_resize (widget->window,
allocation->x, allocation->y,