]> git.sur5r.net Git - glabels/commitdiff
Added rotate and flip properties with default values to objects for compatability...
authorJim Evins <evins@snaught.com>
Sat, 7 Sep 2002 13:41:50 +0000 (13:41 +0000)
committerJim Evins <evins@snaught.com>
Sat, 7 Sep 2002 13:41:50 +0000 (13:41 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@97 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/xml-label.c

index 6bc0f890a446b6623ef9390d58616e8857ce2874..62ab99815dc5bfa0f4a8fda3170039fb580f29e9 100644 (file)
@@ -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) ) {