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:
@ -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,
|
||||
|
Reference in New Issue
Block a user