mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
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:
parent
e1033f5f5a
commit
b48e255d91
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.)
|
||||
|
||||
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
(#67542, reported by Anders Carlsson)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user