element = zak_form_form_get_element_by_id (zakform, id);
if (element != NULL)
{
- zak_form_element_set_value (element, value);
+ return zak_form_element_set_value (element, value);
+ }
+ else
+ {
+ return FALSE;
}
}
element = zak_form_form_get_element_by_id (zakform, id);
if (element != NULL)
{
- zak_form_element_set_value_gvalue (element, value);
+ return zak_form_element_set_value_gvalue (element, value);
+ }
+ else
+ {
+ return FALSE;
}
}