Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ZenWalker
Glade
Commits
1cb4c775
Commit
1cb4c775
authored
Jul 18, 2012
by
Juan Pablo Ugarte
Browse files
Let glade_property_write() save properties to <template> tags
parent
64cea184
Changes
1
Hide whitespace changes
Inline
Side-by-side
gladeui/glade-property.c
View file @
1cb4c775
...
...
@@ -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
)))
return
;
/* Skip properties that are default by original pspec default
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment