Fixed e_xml_set_integer_prop_by_name.
2000-03-05 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name. svn path=/trunk/; revision=2066
This commit is contained in:

committed by
Chris Lahey

parent
41daf5fcbf
commit
f21c9935ef
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-05 Christopher James Lahey <clahey@helixcode.com>
|
||||||
|
|
||||||
|
* e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name.
|
||||||
|
|
||||||
2000-03-05 Matt Loper <matt.loper@splashtech.com>
|
2000-03-05 Matt Loper <matt.loper@splashtech.com>
|
||||||
|
|
||||||
* tests/ui-tests/message-browser.c: Commenting added.
|
* tests/ui-tests/message-browser.c: Commenting added.
|
||||||
|
@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
|
|||||||
void
|
void
|
||||||
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
|
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
|
||||||
{
|
{
|
||||||
xmlChar *value = g_strdup_printf("%d", value);
|
xmlChar *valuestr = g_strdup_printf("%d", value);
|
||||||
xmlSetProp(parent, prop_name, value);
|
xmlSetProp(parent, prop_name, valuestr);
|
||||||
g_free (value);
|
g_free (valuestr);
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
|
|||||||
void
|
void
|
||||||
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
|
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
|
||||||
{
|
{
|
||||||
xmlChar *value = g_strdup_printf("%d", value);
|
xmlChar *valuestr = g_strdup_printf("%d", value);
|
||||||
xmlSetProp(parent, prop_name, value);
|
xmlSetProp(parent, prop_name, valuestr);
|
||||||
g_free (value);
|
g_free (valuestr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user