Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r--shell/ev-view.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 8ac8aa7..f903e20 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -1605,8 +1605,13 @@ ev_view_expose_event (GtkWidget *widget,
int i;
if (view->loading) {
+ GdkRectangle area = {0};
+
+ area.width = widget->allocation.width;
+ area.height = widget->allocation.height;
+
draw_loading_text (view,
- &(widget->allocation),
+ &area,
&(event->area));
}