From 9f3fc6353c66abc095b64de6b62b6ad83c853b9c Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 7 Sep 2002 13:41:50 +0000 Subject: [PATCH] Added rotate and flip properties with default values to objects for compatability with future versions. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@97 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/xml-label.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glabels2/src/xml-label.c b/glabels2/src/xml-label.c index 6bc0f890..62ab9981 100644 --- a/glabels2/src/xml-label.c +++ b/glabels2/src/xml-label.c @@ -783,6 +783,9 @@ xml_create_object (xmlNodePtr root, xmlSetProp (object_node, "y", string); g_free (string); + xmlSetProp (object_node, "rotate", "0"); + xmlSetProp (object_node, "flip", "None"); + if ( GL_IS_LABEL_TEXT(object) ) { xml_create_text_props (object_node, ns, object); } else if ( GL_IS_LABEL_BOX(object) ) { -- 2.39.5