summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@open.eurogiciel.org>2014-12-08 10:28:03 (GMT)
committerJosé Bollo <jose.bollo@open.eurogiciel.org>2014-12-08 10:28:03 (GMT)
commit3fea46988e40da5a5fa844d5efacc43152604f42 (patch)
tree317c34d2ae6862394ccbd87cb854475bb2a830e0
parentfcef685366839507a795390f2f7f3cd44d2b9159 (diff)
downloadui-gadget-1-submit/tizen/20150112.155659.zip
ui-gadget-1-submit/tizen/20150112.155659.tar.gz
ui-gadget-1-submit/tizen/20150112.155659.tar.bz2
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.c2
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();
}