summaryrefslogtreecommitdiff
path: root/client/ug-client.c
diff options
context:
space:
mode:
authorJinwoo Nam <jwoo.nam@samsung.com>2012-09-08 09:24:55 (GMT)
committerJinwoo Nam <jwoo.nam@samsung.com>2012-09-08 09:24:55 (GMT)
commitb842de1bc36da1ac6e2eb6bc806b2488a82e0f20 (patch)
treee89090df30c3e3bbdb2f39a2affaafd7c06f1710 /client/ug-client.c
parent960022eec0500b27ec1dc8532a48b95bee574ef2 (diff)
downloadui-gadget-1-2.0alpha.zip
ui-gadget-1-2.0alpha.tar.gz
ui-gadget-1-2.0alpha.tar.bz2
Diffstat (limited to 'client/ug-client.c')
-rwxr-xr-xclient/ug-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/ug-client.c b/client/ug-client.c
index 11f385f..5ed81e9 100755
--- a/client/ug-client.c
+++ b/client/ug-client.c
@@ -235,14 +235,14 @@ static int app_create(void *data)
lang_changed(ad);
- if (appcore_get_rotation_state(&rm) == 0)
- rotate(rm, ad);
-
appcore_set_rotation_cb(rotate, ad);
appcore_set_event_callback(APPCORE_EVENT_LOW_MEMORY, low_memory, ad);
appcore_set_event_callback(APPCORE_EVENT_LOW_BATTERY, low_battery, ad);
appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, lang_changed, ad);
+ if (appcore_get_rotation_state(&rm) == 0)
+ rotate(rm, ad);
+
return 0;
}