summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomposer/src/external/msg-ui-composer-external.c1
-rwxr-xr-xsetting/src/main/msg-ui-setting-common-util.c1
-rwxr-xr-xsetting/src/main/msg-ui-setting-main.c1
-rwxr-xr-xthread/src/msg-ui-thread-util.c1
-rwxr-xr-xviewer/src/msg-ui-viewer-callback.c1
-rwxr-xr-xviewer/src/msg-ui-viewer-main.c7
6 files changed, 3 insertions, 9 deletions
diff --git a/composer/src/external/msg-ui-composer-external.c b/composer/src/external/msg-ui-composer-external.c
index 6b41576..19d2ade 100755
--- a/composer/src/external/msg-ui-composer-external.c
+++ b/composer/src/external/msg-ui-composer-external.c
@@ -59,7 +59,6 @@ static void __ug_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv)
case UG_MODE_FULLVIEW:
evas_object_size_hint_weight_set(base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(ug_get_window(), base);
evas_object_show(base);
break;
case UG_MODE_FRAMEVIEW:
diff --git a/setting/src/main/msg-ui-setting-common-util.c b/setting/src/main/msg-ui-setting-common-util.c
index 885e816..af52da8 100755
--- a/setting/src/main/msg-ui-setting-common-util.c
+++ b/setting/src/main/msg-ui-setting-common-util.c
@@ -547,7 +547,6 @@ static void __msg_ui_setting_common_ug_layout_cb(ui_gadget_h ug, enum ug_mode mo
switch (mode) {
case UG_MODE_FULLVIEW:
evas_object_size_hint_weight_set(base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(ug_get_window(), base);
evas_object_show(base);
break;
case UG_MODE_FRAMEVIEW:
diff --git a/setting/src/main/msg-ui-setting-main.c b/setting/src/main/msg-ui-setting-main.c
index e5c3605..f004066 100755
--- a/setting/src/main/msg-ui-setting-main.c
+++ b/setting/src/main/msg-ui-setting-main.c
@@ -388,7 +388,6 @@ Evas_Object *msg_ui_setting_create_layout_main(Evas_Object *parent)
elm_layout_theme_set(layout, "layout", "application", "default");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(parent, layout);
evas_object_show(layout);
D_LEAVE;
diff --git a/thread/src/msg-ui-thread-util.c b/thread/src/msg-ui-thread-util.c
index 0ca7099..4eae014 100755
--- a/thread/src/msg-ui-thread-util.c
+++ b/thread/src/msg-ui-thread-util.c
@@ -162,7 +162,6 @@ static void __msg_ui_thread_ug_layout_cb(ui_gadget_h ug, enum ug_mode mode, void
switch (mode) {
case UG_MODE_FULLVIEW:
evas_object_size_hint_weight_set(base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(win, base);
evas_object_show(base);
break;
case UG_MODE_FRAMEVIEW:
diff --git a/viewer/src/msg-ui-viewer-callback.c b/viewer/src/msg-ui-viewer-callback.c
index 8e613e9..2121301 100755
--- a/viewer/src/msg-ui-viewer-callback.c
+++ b/viewer/src/msg-ui-viewer-callback.c
@@ -43,7 +43,6 @@ void msg_ui_viewer_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv)
switch (mode) {
case UG_MODE_FULLVIEW:
evas_object_size_hint_weight_set(base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(win, base);
evas_object_show(base);
break;
diff --git a/viewer/src/msg-ui-viewer-main.c b/viewer/src/msg-ui-viewer-main.c
index 16abf9f..f5b9cbc 100755
--- a/viewer/src/msg-ui-viewer-main.c
+++ b/viewer/src/msg-ui-viewer-main.c
@@ -317,8 +317,8 @@ Evas_Object *msg_ui_viewer_create_bg(void *data, Evas_Object *parent)
if (viewer_main_data->bg == NULL) {
bg = elm_bg_add(parent);
MSG_UI_RETV_IF(MSG_UI_LEVEL_ERR, bg == NULL, NULL);
- evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(parent, bg);
+ evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ elm_win_resize_object_add(parent, bg);
evas_object_show(bg);
viewer_main_data->bg = bg;
} else {
@@ -343,7 +343,6 @@ Evas_Object *msg_ui_viewer_create_layout_main(Evas_Object *parent, bool indicato
elm_layout_theme_set(layout, "layout", "application", "noindicator");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(parent, layout);
evas_object_show(layout);
return layout;
@@ -602,4 +601,4 @@ void msg_ui_viewer_change_language(void *data)
elm_entry_entry_set(viewer_play_data->render_entry, buf_helptext);
}
}
-} \ No newline at end of file
+}