diff options
author | Jinwoo Nam <jwoo.nam@samsung.com> | 2012-09-08 18:24:55 +0900 |
---|---|---|
committer | Jinwoo Nam <jwoo.nam@samsung.com> | 2012-09-08 18:24:55 +0900 |
commit | b842de1bc36da1ac6e2eb6bc806b2488a82e0f20 (patch) | |
tree | e89090df30c3e3bbdb2f39a2affaafd7c06f1710 | |
parent | 960022eec0500b27ec1dc8532a48b95bee574ef2 (diff) | |
download | ui-gadget-1-2.0_alpha.tar.gz ui-gadget-1-2.0_alpha.tar.bz2 ui-gadget-1-2.0_alpha.zip |
move to appcore_get_rotation_state in the last of app_createsubmit/tizen/20130517.015357submit/master/20120920.151041submit/2.0alpha/20130208.225535accepted/tizen/20130520.1027292.0_alpha2.0alpha
-rwxr-xr-x | client/ug-client.c | 6 | ||||
-rwxr-xr-x | packaging/ui-gadget-1.spec | 2 |
2 files changed, 4 insertions, 4 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; } diff --git a/packaging/ui-gadget-1.spec b/packaging/ui-gadget-1.spec index 8d050ae..684febb 100755 --- a/packaging/ui-gadget-1.spec +++ b/packaging/ui-gadget-1.spec @@ -2,7 +2,7 @@ Name: ui-gadget-1 Summary: UI Gadget Library Version: 0.1.0 -Release: 10 +Release: 11 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz |