]> www.fi.muni.cz Git - evince.git/commitdiff
Fix compilation with older compilers like gcc 2. Fixes bug #387237.
authorJens Granseuer <jensgr@gmx.net>
Mon, 18 Dec 2006 18:46:06 +0000 (18:46 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Mon, 18 Dec 2006 18:46:06 +0000 (18:46 +0000)
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.

ChangeLog
shell/ev-view.c

index 70868464a78cb6c59251ec5f1030dcb9ed31f2a8..817908fa73283d60578cf23df8088ba2defdcb76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 097c97be9ac97e7442f612039c30b1a8f4ab6cc6..e56fa31b06af39251a43b2890e8f68aff50ff33b 100644 (file)
@@ -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 ();