summaryrefslogtreecommitdiff
path: root/editors/mlview/files/patch-src-mlview-icon-tree.c
blob: 468d902bb9514f75d46d3f8aabae2a87628bc561 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/mlview-icon-tree.c.orig	Thu Nov 20 21:07:14 2003
+++ src/mlview-icon-tree.c	Sat Dec  6 20:52:53 2003
@@ -388,9 +388,11 @@
         guchar *result = NULL,
                 *content = NULL;
   
+        const gchar *colour_str;
+
         g_return_val_if_fail (a_node != NULL, NULL);
   
-        const gchar *colour_str = mlview_tree_editor2_get_colour_string (a_node->type);
+        colour_str = mlview_tree_editor2_get_colour_string (a_node->type);
   
         if (a_node->type == XML_ELEMENT_NODE) {
                 guchar *ns_prefix = NULL,