edje_codegen: cleanup
authorcaro <caro>
Sat, 8 Sep 2012 08:52:49 +0000 (08:52 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 8 Sep 2012 08:52:49 +0000 (08:52 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@76340 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_codegen.c

index 0958d61..60ed8ce 100644 (file)
@@ -2,21 +2,21 @@
 # include "config.h"
 #endif
 
-#include "Edje.h"
-#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT 1
-#include "Edje_Edit.h"
-
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Ecore_Getopt.h>
-#include <Eina.h>
-
+#include <stdio.h>
 #include <ctype.h>
 #include <fcntl.h>
 #include <locale.h>
-#include <stdio.h>
 #include <unistd.h>
 
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Getopt.h>
+#include <Ecore_Evas.h>
+
+#include "Edje.h"
+#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT 1
+#include "Edje_Edit.h"
+
 static int _log_dom;
 #define DBG(...)  EINA_LOG_DOM_DBG(_log_dom, __VA_ARGS__)
 #define ERR(...)  EINA_LOG_DOM_ERR(_log_dom, __VA_ARGS__)
@@ -724,11 +724,11 @@ main(int argc, char *argv[])
    if (ee)
      ecore_evas_free(ee);
 
-   eina_log_domain_unregister(_log_dom);
  error_log:
    edje_shutdown();
    ecore_evas_shutdown();
    ecore_shutdown();
+   eina_log_domain_unregister(_log_dom);
    eina_shutdown();
 
    if (ret > 4)