diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-xml-utils.c | 2 | ||||
-rw-r--r-- | e-util/e-xml-utils.c-56826 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c index bfa2b1cb4c..f0182d5167 100644 --- a/e-util/e-xml-utils.c +++ b/e-util/e-xml-utils.c @@ -59,7 +59,7 @@ e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value) xmlChar *valuestr; g_return_if_fail (parent != NULL); - g_return_val_if_fail (prop_name != NULL, 0); + g_return_if_fail (prop_name != NULL); valuestr = g_strdup_printf("%d", value); xmlSetProp(parent, prop_name, valuestr); diff --git a/e-util/e-xml-utils.c-56826 b/e-util/e-xml-utils.c-56826 index bfa2b1cb4c..f0182d5167 100644 --- a/e-util/e-xml-utils.c-56826 +++ b/e-util/e-xml-utils.c-56826 @@ -59,7 +59,7 @@ e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value) xmlChar *valuestr; g_return_if_fail (parent != NULL); - g_return_val_if_fail (prop_name != NULL, 0); + g_return_if_fail (prop_name != NULL); valuestr = g_strdup_printf("%d", value); xmlSetProp(parent, prop_name, valuestr); |