From: Jim Evins Date: Sat, 7 Sep 2002 13:41:50 +0000 (+0000) Subject: Added rotate and flip properties with default values to objects for compatability... X-Git-Tag: glabels-2_3_0~787 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f3fc6353c66abc095b64de6b62b6ad83c853b9c;p=glabels 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 --- 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) ) {