me. valgrind. happy fun times together. methinks we should hasve more
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 30 Mar 2013 05:11:07 +0000 (14:11 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 30 Mar 2013 05:11:07 +0000 (14:11 +0900)
people do this.

src/bin/e_main.c
src/bin/e_menu.c

index 4cc6a51..2df3d96 100644 (file)
@@ -814,6 +814,17 @@ main(int argc, char **argv)
    TS("E_Container Freeze Done");
 
    if (e_config->show_splash)
+     e_init_status_set(_("Setup DND"));
+   TS("E_Dnd Init");
+   if (!e_dnd_init())
+     {
+        e_error_message_show(_("Enlightenment cannot set up its dnd system.\n"));
+        _e_main_shutdown(-1);
+     }
+   TS("E_Dnd Init Done");
+   _e_main_shutdown_push(e_dnd_shutdown);
+
+   if (e_config->show_splash)
      e_init_status_set(_("Setup Filemanager"));
    TS("E_Fm2 Init");
    if (!e_fm2_init())
@@ -836,17 +847,6 @@ main(int argc, char **argv)
    _e_main_shutdown_push(e_msg_shutdown);
 
    if (e_config->show_splash)
-     e_init_status_set(_("Setup DND"));
-   TS("E_Dnd Init");
-   if (!e_dnd_init())
-     {
-        e_error_message_show(_("Enlightenment cannot set up its dnd system.\n"));
-        _e_main_shutdown(-1);
-     }
-   TS("E_Dnd Init Done");
-   _e_main_shutdown_push(e_dnd_shutdown);
-
-   if (e_config->show_splash)
      e_init_status_set(_("Setup Grab Input Handling"));
    TS("E_Grabinput Init");
    if (!e_grabinput_init())
index 636bc34..e333eb8 100644 (file)
@@ -1294,6 +1294,7 @@ _e_menu_free(E_Menu *m)
      }
    if (m->header.title) eina_stringshare_del(m->header.title);
    if (m->header.icon_file) eina_stringshare_del(m->header.icon_file);
+   if (m->dangling_job) ecore_job_del(m->dangling_job);
    free(m);
 }