summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@open.eurogiciel.org>2014-12-08 11:28:03 +0100
committerJosé Bollo <jose.bollo@open.eurogiciel.org>2014-12-08 11:28:03 +0100
commit3fea46988e40da5a5fa844d5efacc43152604f42 (patch)
tree317c34d2ae6862394ccbd87cb854475bb2a830e0
parentfcef685366839507a795390f2f7f3cd44d2b9159 (diff)
downloadui-gadget-1-3fea46988e40da5a5fa844d5efacc43152604f42.tar.gz
ui-gadget-1-3fea46988e40da5a5fa844d5efacc43152604f42.tar.bz2
ui-gadget-1-3fea46988e40da5a5fa844d5efacc43152604f42.zip
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();
}