Commit 1cb4c775 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte
Browse files

Let glade_property_write() save properties to <template> tags

parent 64cea184
......@@ -1168,9 +1168,10 @@ glade_property_write (GladeProperty * property,
g_return_if_fail (GLADE_IS_PROPERTY (property));
g_return_if_fail (node != NULL);
/* This code should work the same for <packing> and <widget> */
/* This code should work the same for <packing>, <widget> and <template> */
if (!(glade_xml_node_verify_silent (node, GLADE_XML_TAG_PACKING) ||
glade_xml_node_verify_silent (node, GLADE_XML_TAG_WIDGET)))
glade_xml_node_verify_silent (node, GLADE_XML_TAG_WIDGET) ||
glade_xml_node_verify_silent (node, GLADE_XML_TAG_TEMPLATE)))
/* Skip properties that are default by original pspec default
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment