freebsd-ports/editors/mlview/files/patch-src-mlview-tree-editor2.c
Pav Lucistnik e07f6b9819 Add mlview, a tree based XML editor for GNOME
PR:		ports/57169
Submitted by:	Simon Barner <barner@in.tum.de>
2003-12-06 20:04:24 +00:00

15 lines
556 B
C

--- src/mlview-tree-editor2.c.orig Thu Nov 20 09:11:34 2003
+++ src/mlview-tree-editor2.c Sat Dec 6 20:48:30 2003
@@ -760,9 +760,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,