Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJens Granseuer <jensgr@gmx.net>2006-12-18 18:46:06 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-12-18 18:46:06 (GMT)
commitee401dc55ebfa08a781c1b39f55a9bae4fa2cec8 (patch)
treebcd56f18e22845aa780eab7281a6e382ac758941 /shell
parent0ab339a4fb9525853005750ce55a45410a306ea7 (diff)
Fix compilation with older compilers like gcc 2. Fixes bug #387237.
2006-12-18 Jens Granseuer <jensgr@gmx.net> * shell/ev-view.c: (draw_loading_text): Fix compilation with older compilers like gcc 2. Fixes bug #387237.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c3
1 files changed, 2 insertions, 1 deletions
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 ();