{
SETTING_TRACE_BEGIN;
setting_main_appdata *ad = data;
- int r;
if (ad == NULL || ad->win_main == NULL)
- return 0;
-
-#if 0
- switch (m) {
- case APPCORE_RM_PORTRAIT_NORMAL:
- r = 0;
- break;
- case APPCORE_RM_PORTRAIT_REVERSE:
- r = 180;
- break;
- case APPCORE_RM_LANDSCAPE_NORMAL:
- r = 270;
- break;
- case APPCORE_RM_LANDSCAPE_REVERSE:
- r = 90;
- break;
- default:
- r = -1;
- break;
- }
-#endif
- if (r >= 0)
- elm_win_rotation_with_resize_set(ad->win_main, r);
+ return;
+
+ elm_win_rotation_with_resize_set(ad->win_main, m);
}
#endif