summaryrefslogtreecommitdiff
path: root/client/ug-client.c
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-15 16:12:46 (GMT)
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-15 16:12:46 (GMT)
commitec0eaacf200be6e4cf466383b5f0e6ecc396f626 (patch)
tree5e5b497a0523cbdbd471cf2e9c61570474741033 /client/ug-client.c
parent7596e199c101a324ac0bbab1be727962fe0ebf07 (diff)
downloadui-gadget-1-ec0eaacf200be6e4cf466383b5f0e6ecc396f626.zip
ui-gadget-1-ec0eaacf200be6e4cf466383b5f0e6ecc396f626.tar.gz
ui-gadget-1-ec0eaacf200be6e4cf466383b5f0e6ecc396f626.tar.bz2
merge with master
Diffstat (limited to 'client/ug-client.c')
-rwxr-xr-xclient/ug-client.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/ug-client.c b/client/ug-client.c
index 1125ef0..04e3c10 100755
--- a/client/ug-client.c
+++ b/client/ug-client.c
@@ -67,7 +67,6 @@ static int rotate(enum appcore_rm m, void *data)
{
struct appdata *ad = data;
int r;
- bool is_rotation_lock = false;
if (ad == NULL || ad->win == NULL)
return 0;
@@ -113,8 +112,10 @@ void _ug_client_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv)
ad = priv;
base = ug_get_layout(ug);
- if (!base)
+ if (!base) {
+ LOGE("base layout is null");
return;
+ }
switch (mode) {
case UG_MODE_FULLVIEW:
@@ -273,6 +274,8 @@ static int app_terminate(void *data)
{
struct appdata *ad = data;
+ LOGD("app_terminate called");
+
ug_destroy_all();
if (ad->ly_main) {
@@ -292,6 +295,8 @@ static int app_pause(void *data)
{
struct appdata *ad = data;
+ LOGD("app_pause called");
+
ug_pause();
if (!ad->is_transient) {
LOGD("app_pause received. close ug service");