diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-07-24 08:51:22 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-07-24 08:56:07 (GMT) |
commit | 5b7460f96c8bc7954fbfbfb6734de0c0c82048d6 (patch) | |
tree | 965800e47b770bb751310b0ec35a3cf9a79fed1a | |
parent | 1b49f91a3eb89523a11d7b616ad189d7bb57eff6 (diff) |
#7621 Correctly set the widget allocation
-rw-r--r-- | src/hulahop-web-view.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hulahop-web-view.cpp b/src/hulahop-web-view.cpp index 00705b9..eee333d 100644 --- a/src/hulahop-web-view.cpp +++ b/src/hulahop-web-view.cpp @@ -186,6 +186,8 @@ hulahop_web_view_size_allocate(GtkWidget *widget, GtkAllocation *allocation) { HulahopWebView *web_view = HULAHOP_WEB_VIEW(widget); + widget->allocation = *allocation; + if (GTK_WIDGET_REALIZED(widget)) { gdk_window_move_resize(widget->window, allocation->x, allocation->y, |