Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/iconbar

Dir     : e17/apps/iconbar/src


Modified Files:
        main.c 


Log Message:

shutdown what we init

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/iconbar/src/main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- main.c      16 Dec 2003 18:59:11 -0000      1.5
+++ main.c      13 Jan 2004 19:32:18 -0000      1.6
@@ -24,12 +24,22 @@
 int shaped = 1;
 
 int
-main()
+main(int argc, char **argv)
 {
+  int i, withdrawn = 0;
   char buf[2048];
 
+  for (i = 1; i < argc; i++)
+  {
+    if (!strcmp(argv[i], "--withdrawn") || !strcmp(argv[i], "-w"))
+      withdrawn = 1;
+  }
+  printf("withdrawn: %d\n", withdrawn);
+  
   ecore_init();
+  ecore_app_args_set(&argc, &argv);
   ecore_evas_init();
+  edje_init();
 
   ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 50, 100);
   ecore_evas_callback_mouse_out_set(ee, window_leave);
@@ -88,6 +98,10 @@
 
   ecore_main_loop_begin();
 
+  edje_shutdown();
+  ecore_evas_shutdown();
+  ecore_shutdown();
+
   return 0;
 }
 




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to