]> saetta.ns0.it Git - zakform/libzakform/commitdiff
No return values in ZakFormIProvider functions.
authorAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2015 11:00:07 +0000 (12:00 +0100)
committerAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2015 11:04:33 +0000 (12:04 +0100)
src/formiprovider.c

index dd5c6614fc9d4a3a505055fd9d86f829294b64ae..bc5cdc59907e2e0c3ec9d169b37379ccb0d8d75e 100644 (file)
@@ -40,7 +40,7 @@ zak_form_iprovider_load (ZakFormIProvider *self, GPtrArray *elements)
        ret = FALSE;
        if (ZAK_FORM_IPROVIDER_GET_IFACE (self)->load != NULL)
                {
-                       ZAK_FORM_IPROVIDER_GET_IFACE (self)->load (self, elements);
+                       ret = ZAK_FORM_IPROVIDER_GET_IFACE (self)->load (self, elements);
                }
 
        return ret;
@@ -56,7 +56,7 @@ zak_form_iprovider_insert (ZakFormIProvider *self, GPtrArray *elements)
        ret = FALSE;
        if (ZAK_FORM_IPROVIDER_GET_IFACE (self)->insert != NULL)
                {
-                       ZAK_FORM_IPROVIDER_GET_IFACE (self)->insert (self, elements);
+                       ret = ZAK_FORM_IPROVIDER_GET_IFACE (self)->insert (self, elements);
                }
 
        return ret;
@@ -72,7 +72,7 @@ zak_form_iprovider_update (ZakFormIProvider *self, GPtrArray *elements)
        ret = FALSE;
        if (ZAK_FORM_IPROVIDER_GET_IFACE (self)->update != NULL)
                {
-                       ZAK_FORM_IPROVIDER_GET_IFACE (self)->update (self, elements);
+                       ret = ZAK_FORM_IPROVIDER_GET_IFACE (self)->update (self, elements);
                }
 
        return ret;
@@ -88,7 +88,7 @@ zak_form_iprovider_delete (ZakFormIProvider *self, GPtrArray *elements)
        ret = FALSE;
        if (ZAK_FORM_IPROVIDER_GET_IFACE (self)->delete != NULL)
                {
-                       ZAK_FORM_IPROVIDER_GET_IFACE (self)->delete (self, elements);
+                       ret = ZAK_FORM_IPROVIDER_GET_IFACE (self)->delete (self, elements);
                }
 
        return ret;