summaryrefslogtreecommitdiff
path: root/client/ug-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/ug-client.c')
-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();
}