From ee401dc55ebfa08a781c1b39f55a9bae4fa2cec8 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Mon, 18 Dec 2006 18:46:06 +0000 Subject: Fix compilation with older compilers like gcc 2. Fixes bug #387237. 2006-12-18 Jens Granseuer * shell/ev-view.c: (draw_loading_text): Fix compilation with older compilers like gcc 2. Fixes bug #387237. --- (limited to 'shell/ev-view.c') diff --git a/shell/ev-view.c b/shell/ev-view.c index 097c97b..e56fa31 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -2376,6 +2376,7 @@ draw_loading_text (EvView *view, GdkRectangle *page_area, GdkRectangle *expose_area) { + const char *loading_text; PangoLayout *layout; PangoFontDescription *font_desc; PangoRectangle logical_rect; @@ -2388,7 +2389,7 @@ draw_loading_text (EvView *view, if (view->presentation) return; - const char *loading_text = _("Loading..."); + loading_text = _("Loading..."); ev_document_fc_mutex_lock (); -- cgit v0.9.1