From e5fd2d42e2fc911e9f663da6ce35e98a37c2a7ab Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Tue, 15 Dec 2015 12:00:07 +0100 Subject: [PATCH] No return values in ZakFormIProvider functions. --- src/formiprovider.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.49.0