summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-08-21 10:34:01 +0000
committerChristopher Michael <cpmichael1@comcast.net>2012-08-21 10:34:01 +0000
commit24f5651f7942da4d7b7e7e68dfd294e863509bc8 (patch)
tree24e6046c5c7833ebecebff826d2c7217675bf196 /legacy
parentf15bebd406b9ca62d56f49ec9542a9c631f73bbf (diff)
Edje (player): We already create the ecore_evas at the desired size so
there is no point in calling a resize again. SVN revision: 75499
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edje/src/bin/edje_player.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/legacy/edje/src/bin/edje_player.c b/legacy/edje/src/bin/edje_player.c
index cac681b374..077c1b4f0b 100644
--- a/legacy/edje/src/bin/edje_player.c
+++ b/legacy/edje/src/bin/edje_player.c
@@ -704,6 +704,8 @@ int main(int argc, char **argv)
704 goto end; 704 goto end;
705 } 705 }
706 706
707 if (opts.size.w <= 0) opts.size.w = 320;
708 if (opts.size.h <= 0) opts.size.h = 240;
707 win = ecore_evas_new(opts.engine, 0, 0, opts.size.w, opts.size.h, NULL); 709 win = ecore_evas_new(opts.engine, 0, 0, opts.size.w, opts.size.h, NULL);
708 if (!win) 710 if (!win)
709 { 711 {
@@ -780,9 +782,6 @@ int main(int argc, char **argv)
780 if (opts.title) 782 if (opts.title)
781 ecore_evas_title_set(win, opts.title); 783 ecore_evas_title_set(win, opts.title);
782 784
783 if (opts.size.w <= 0) opts.size.w = 320;
784 if (opts.size.h <= 0) opts.size.h = 240;
785 ecore_evas_resize(win, opts.size.w, opts.size.h);
786 ecore_evas_show(win); 785 ecore_evas_show(win);
787 ecore_main_loop_begin(); 786 ecore_main_loop_begin();
788 787