Changeset 85625 in webkit


Ignore:
Timestamp:
May 3, 2011 11:15:51 AM (13 years ago)
Author:
demarchi@webkit.org
Message:

2011-05-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Unreviewed, rolling out r85471.
http://trac.webkit.org/changeset/85471
https://bugs.webkit.org/show_bug.cgi?id=59922

The rule of thumb in EFL is that you init in all the places
you use it. So, if in your application you call ecore_evas_*
functions, you have to call ecore_evas_init() first.

  • EWebLauncher/main.c: always call *_init() functions when you use that namespace. (quit): (main):
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r85612 r85625  
     12011-05-03  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Unreviewed, rolling out r85471.
     4        http://trac.webkit.org/changeset/85471
     5        https://bugs.webkit.org/show_bug.cgi?id=59922
     6
     7        The rule of thumb in EFL is that you init in all the places
     8        you use it. So, if in your application you call ecore_evas_*
     9        functions, you have to call ecore_evas_init() first.
     10
     11        * EWebLauncher/main.c: always call *_init() functions when you use
     12        that namespace.
     13        (quit):
     14        (main):
     15
    1162011-05-02  Ojan Vafai  <ojan@chromium.org>
    217
  • trunk/Tools/EWebLauncher/main.c

    r85471 r85625  
    635635quit(Eina_Bool success, const char *msg)
    636636{
    637     ewk_shutdown();
     637    edje_shutdown();
     638    ecore_evas_shutdown();
    638639
    639640    if (msg)
     
    846847    };
    847848
    848     if (!ewk_init())
    849         return quit(EINA_FALSE, "ERROR: could not initialize ewk.\n");
     849    if (!ecore_evas_init())
     850        return EXIT_FAILURE;
     851
     852    if (!edje_init()) {
     853        ecore_evas_shutdown();
     854        return EXIT_FAILURE;
     855    }
    850856
    851857    ecore_app_args_set(argc, (const char**) argv);
     
    867873        return quit(EINA_FALSE, "ERROR: could not find theme.\n");
    868874
     875    ewk_init();
    869876    tmp = getenv("TMPDIR");
    870877    if (!tmp)
     
    884891    ecore_main_loop_begin();
    885892
     893    ewk_shutdown();
     894
    886895    return quit(EINA_TRUE, NULL);
    887896}
Note: See TracChangeset for help on using the changeset viewer.