diff options
author | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2014-10-22 16:26:44 -0200 |
---|---|---|
committer | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2014-10-27 18:47:24 -0200 |
commit | 063a46345cb7f814c2ef91d9db340ca093c2e0ea (patch) | |
tree | 18c0ede32f20fe4fac19f18fdf2e1b3b6796d8a2 /src/wkb-ibus-config-eet.c | |
parent | ee736f2a405a3b5dac885714c788d2e6d526451a (diff) | |
download | weekeyboard-063a46345cb7f814c2ef91d9db340ca093c2e0ea.tar.gz weekeyboard-063a46345cb7f814c2ef91d9db340ca093c2e0ea.tar.bz2 weekeyboard-063a46345cb7f814c2ef91d9db340ca093c2e0ea.zip |
Add section id to struct wkb_config_key
Also make it available via accessor functions
Change-Id: Ie7642ffe80279923b3fa775723157e6ae438c167
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Diffstat (limited to 'src/wkb-ibus-config-eet.c')
-rw-r--r-- | src/wkb-ibus-config-eet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wkb-ibus-config-eet.c b/src/wkb-ibus-config-eet.c index eee3b3c..4f455cf 100644 --- a/src/wkb-ibus-config-eet.c +++ b/src/wkb-ibus-config-eet.c @@ -175,7 +175,7 @@ end: #define _config_section_add_key(_section, _section_id, _key_type, _field) \ do { \ struct _config_ ## _section_id *__conf = (struct _config_ ## _section_id *) _section; \ - struct wkb_config_key *__key = wkb_config_key_ ## _key_type(#_field, &__conf->_field); \ + struct wkb_config_key *__key = wkb_config_key_ ## _key_type(#_field, _section->id, &__conf->_field); \ _section->keys = eina_list_append(_section->keys, __key); \ } while (0) |