projects
/
apps
/
native
/
telegram-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abbe2aa
)
Window : only support 0 degree & 180 degree
36/51936/1
author
Jin Yoon
<jinny.yoon@samsung.com>
Tue, 17 Nov 2015 11:06:59 +0000
(20:06 +0900)
committer
Jin Yoon
<jinny.yoon@samsung.com>
Tue, 17 Nov 2015 11:06:59 +0000
(20:06 +0900)
Change-Id: I5b80f11a389005df57edf31e05b60e0e317850fd
TelegramTizen/src/telegramtizen.c
patch
|
blob
|
history
diff --git
a/TelegramTizen/src/telegramtizen.c
b/TelegramTizen/src/telegramtizen.c
index
376f94a
..
471599a
100644
(file)
--- a/
TelegramTizen/src/telegramtizen.c
+++ b/
TelegramTizen/src/telegramtizen.c
@@
-3346,8
+3346,8
@@
static void create_base_gui(appdata_s *ad)
elm_app_base_scale_set(1.8);
if (elm_win_wm_rotation_supported_get(ad->win)) {
- int rots[
4] = { 0, 90, 180, 270
};
- elm_win_wm_rotation_available_rotations_set(ad->win, (const int *)(&rots),
4
);
+ int rots[
2] = {0, 180
};
+ elm_win_wm_rotation_available_rotations_set(ad->win, (const int *)(&rots),
sizeof(rots) / sizeof(int)
);
}
ad->target_direction = tg_get_device_orientation();
char edj_path[PATH_MAX] = {0, };