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