summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>2014-10-28 17:47:23 -0200
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>2014-10-28 17:47:23 -0200
commitd27cc29edde4c53388e2fadf0c7383f37e293baa (patch)
tree48ed8a00fc9312c13c62c859e46ff189f88d39d5
parent32d6adb8490af9ad53dd458916c44d3819b3933b (diff)
downloadweekeyboard-d27cc29edde4c53388e2fadf0c7383f37e293baa.tar.gz
weekeyboard-d27cc29edde4c53388e2fadf0c7383f37e293baa.tar.bz2
weekeyboard-d27cc29edde4c53388e2fadf0c7383f37e293baa.zip
Fix return value for _key_basic_get
Change-Id: If9cbc1e60422f4574bb58be28306f3e3f8f19793 Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r--src/wkb-ibus-config-key.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wkb-ibus-config-key.c b/src/wkb-ibus-config-key.c
index f29db1e..edc01d6 100644
--- a/src/wkb-ibus-config-key.c
+++ b/src/wkb-ibus-config-key.c
@@ -71,8 +71,7 @@ _key_new(const char *id, const char *section, const char *signature, void *field
#define _key_basic_get(_key, _type, _iter) \
do { \
_type *__field = (_type *) _key->field; \
- eldbus_message_iter_basic_append(_iter, *_key->signature, *__field); \
- return EINA_TRUE; \
+ return eldbus_message_iter_basic_append(_iter, *_key->signature, *__field); \
} while (0)
static Eina_Bool