From f15d34dcac0b2c5f62a44612e32a49b5f0a3e262 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sat, 12 Jan 2013 15:37:49 +0000 Subject: [PATCH] remove unnecessary macro for comp engines and use enum values SVN revision: 82702 --- src/bin/e_comp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 535d3a2e3..87f8bf488 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -4141,8 +4141,6 @@ _e_comp_config_engine_info_cb(E_Configure_Option *co) NULL }; -#define ENGINE_SW 1 -#define ENGINE_GL 2 if (!getenv("ECORE_X_NO_XLIB")) { if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_X11)) @@ -4151,7 +4149,7 @@ _e_comp_config_engine_info_cb(E_Configure_Option *co) } } - for (x = ENGINE_SW; x <= ENGINE_GL; x++) + for (x = E_COMP_ENGINE_SW; x <= E_COMP_ENGINE_GL; x++) { if (!name[x - 1]) continue; oi = e_configure_option_info_new(co, _(name[x - 1]), (intptr_t *)(long)x);