From 5b7460f96c8bc7954fbfbfb6734de0c0c82048d6 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 24 Jul 2008 08:51:22 +0000 Subject: #7621 Correctly set the widget allocation --- (limited to 'src') 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, -- cgit v0.9.1