From ee401dc55ebfa08a781c1b39f55a9bae4fa2cec8 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Mon, 18 Dec 2006 18:46:06 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ shell/ev-view.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 70868464..817908fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-18 Jens Granseuer + + * shell/ev-view.c: (draw_loading_text): + + Fix compilation with older compilers like gcc 2. Fixes bug #387237. + 2006-12-18 Carlos Garcia Campos * configure.ac: diff --git a/shell/ev-view.c b/shell/ev-view.c index 097c97be..e56fa31b 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 (); -- 2.43.5