diff options
author | Jens 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) |
commit | ee401dc55ebfa08a781c1b39f55a9bae4fa2cec8 (patch) | |
tree | bcd56f18e22845aa780eab7281a6e382ac758941 | |
parent | 0ab339a4fb9525853005750ce55a45410a306ea7 (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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | shell/ev-view.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +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. + 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: 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 (); |