Hi,

i tried to compile EWL with sources from 26.10, it didn't work..

i am not a C coder, but i tried to correct it, i modifed a source file of
EWL framebuffer engine and it compiled without errors.. so here is the
patch:

--- ewl_engine_evas_fb.c    2008-10-29 09:55:51.000000000 +0000
+++ ewl_engine_evas_fb.c    2008-10-29 09:47:05.000000000 +0000
@@ -50,7 +50,7 @@
         if (!engine)
                 DRETURN_PTR(NULL, DLEVEL_STABLE);

-        if (!ee_init(EWL_ENGINE(engine), argc, argv))
+        if (!ee_init(EWL_ENGINE(engine)))
         {
                 FREE(engine);
                 DRETURN_PTR(NULL, DLEVEL_STABLE);
@@ -60,7 +60,7 @@
 }

 static int
-ee_init(Ewl_Engine *engine, int *argc, char ** argv)
+ee_init(Ewl_Engine *engine)
 {
         Ewl_Engine_Info *info;
         char *display = "0";
@@ -71,19 +71,6 @@
         if (ee_key_down_handler)
                 DRETURN_INT(TRUE, DLEVEL_STABLE);

-        if (argc && argv)
-        {
-                int i;
-                for (i = 1; i < *argc; i++)
-                {
-                        if (!strcmp(argv[i], "-display"))
-                        {
-                                if (++i < *argc)
-                                        display = argv[i];
-                        }
-                }
-        }
-
         if (!ecore_fb_init(display))
         {
                 fprintf(stderr, "Unable to initialize Ecore FB.\n"
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to