seoz pushed a commit to branch elementary-1.7.

commit 27c5c518907ff8edf03fa43059d621ee9c48a0a6
Author: Rafael Antognolli <[email protected]>
Date:   Thu Sep 5 11:52:46 2013 -0300

    elm/tests: Autodetect engine, instead of hardcode it.
---
 src/bin/test_glview.c        | 4 ----
 src/bin/test_glview_simple.c | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/src/bin/test_glview.c b/src/bin/test_glview.c
index 2bd6dc9..a97cc47 100644
--- a/src/bin/test_glview.c
+++ b/src/bin/test_glview.c
@@ -577,11 +577,7 @@ test_glview(void *data __UNUSED__, Evas_Object *obj 
__UNUSED__, void *event_info
    gldata_init(gld);
 
    // new window - do the usual and give it a name, title and delete handler
-   // Set the engine to opengl_x11
-   elm_config_preferred_engine_set("opengl_x11");
    win = elm_win_util_standard_add("glview", "GLView");
-   // Set preferred engine back to default from config
-   elm_config_preferred_engine_set(NULL);
 
    elm_win_autodel_set(win, EINA_TRUE);
 
diff --git a/src/bin/test_glview_simple.c b/src/bin/test_glview_simple.c
index fc21ef4..d62b2c2 100644
--- a/src/bin/test_glview_simple.c
+++ b/src/bin/test_glview_simple.c
@@ -238,11 +238,7 @@ test_glview_simple(void *data __UNUSED__, Evas_Object *obj 
__UNUSED__, void *eve
 
    if (!(gld = calloc(1, sizeof(GLData)))) return;
 
-   // Set the engine to opengl_x11
-   elm_config_preferred_engine_set("opengl_x11");
    win = elm_win_util_standard_add("glview simple", "GLView Simple");
-   // Set preferred engine back to default from config
-   elm_config_preferred_engine_set(NULL);
 
    elm_win_autodel_set(win, EINA_TRUE);
 

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk

Reply via email to