]> saetta.ns0.it Git - zakform/libzakform/commitdiff
Wrong type.
authorAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2020 07:42:42 +0000 (08:42 +0100)
committerAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2020 07:42:42 +0000 (08:42 +0100)
src/formelementarray.c

index 15d3e7cfe2fe991fc376aca4cd6a42f3c65feb75..3bbd81d64a7517172793d5db51b5c349bb61cdc1 100644 (file)
@@ -424,7 +424,7 @@ zak_form_element_array_set_value (ZakFormElementArray *element, GValue *value)
                                                {
                                                        if (field_value == NULL)
                                                                {
-                                                                       field_value = zak_utils_gvalue_new_string ("");
+                                                                       field_value = g_strdup ("");
                                                                }
                                                        zak_form_element_set_value (ZAK_FORM_ELEMENT (form_element), field_value);
                                                }