diff options
author | José Bollo <jose.bollo@open.eurogiciel.org> | 2014-12-08 11:28:03 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@open.eurogiciel.org> | 2014-12-08 11:28:03 +0100 |
commit | 3fea46988e40da5a5fa844d5efacc43152604f42 (patch) | |
tree | 317c34d2ae6862394ccbd87cb854475bb2a830e0 | |
parent | fcef685366839507a795390f2f7f3cd44d2b9159 (diff) | |
download | ui-gadget-1-3fea46988e40da5a5fa844d5efacc43152604f42.tar.gz ui-gadget-1-3fea46988e40da5a5fa844d5efacc43152604f42.tar.bz2 ui-gadget-1-3fea46988e40da5a5fa844d5efacc43152604f42.zip |
Improving modularitysubmit/tizen_wearable/20150127.000000submit/tizen_common/20150121.102513submit/tizen_common/20150121.102138submit/tizen/20150112.155659accepted/tizen/wearable/20150128.040601accepted/tizen/common/20150122.101955
Using "private" structure definition violates the modularity
principle. Using the public API is better.
Change-Id: I74e9d8a8e0fd34bfeed8071488793267e6f1e5c9
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
-rw-r--r-- | client/ug-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ug-client.c b/client/ug-client.c index 565ea25..e91c916 100644 --- a/client/ug-client.c +++ b/client/ug-client.c @@ -301,7 +301,7 @@ static void _home_screen_top_cb(keynode_t* node, void *data) return; } - if ((node->value.i == VCONFKEY_IDLE_SCREEN_TOP_TRUE) && (!ad->is_transient)) { + if ((vconf_keynode_get_int(node) == VCONFKEY_IDLE_SCREEN_TOP_TRUE) && (!ad->is_transient)) { LOGW("home key pressed. window is not transient. ug client will be terminated"); elm_exit(); } |