From: Andrea Zagli Date: Tue, 15 Dec 2015 11:00:07 +0000 (+0100) Subject: No return values in ZakFormIProvider functions. X-Git-Tag: debian/0.0.1-1~18 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=e5fd2d42e2fc911e9f663da6ce35e98a37c2a7ab;p=zakform%2Flibzakform No return values in ZakFormIProvider functions. --- diff --git a/src/formiprovider.c b/src/formiprovider.c index dd5c661..bc5cdc5 100644 --- a/src/formiprovider.c +++ b/src/formiprovider.c @@ -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;