Elementary: avoid unneeded second check for test_win_only

SVN revision: 75324
This commit is contained in:
Bruno Dilly 2012-08-16 21:34:11 +00:00
parent f9d98db03e
commit 042bea068c
1 changed files with 6 additions and 10 deletions

View File

@ -723,17 +723,13 @@ add_tests:
/* set an initial window size */
evas_object_resize(win, 480, 480);
/* show the window */
if (!test_win_only)
evas_object_show(win);
/* bring in autorun frame */
if (autorun)
{
evas_object_show(win);
/* bring in autorun frame */
if (autorun)
{
Evas_Coord x, y;
evas_object_geometry_get(tt, &x, &y, NULL, NULL);
elm_scroller_region_bring_in(sc, x, y, 0, 0);
}
Evas_Coord x, y;
evas_object_geometry_get(tt, &x, &y, NULL, NULL);
elm_scroller_region_bring_in(sc, x, y, 0, 0);
}
}