Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        config.c engage.h main.c 


Log Message:
another ecore_config change _sigh_
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/config.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- config.c    10 May 2004 10:17:52 -0000      1.17
+++ config.c    10 May 2004 11:06:41 -0000      1.18
@@ -25,7 +25,7 @@
 }
 
 int
-od_config_init(int argc, char **argv)
+od_config_init(void)
 {
   int             ret;
 
@@ -79,7 +79,7 @@
                             "Time taken (in seconds) for new icons to appear");
 
   ecore_config_load();
-  ret = ecore_config_args_parse(argc, argv);
+  ret = ecore_config_args_parse();
 
   options.width = ecore_config_int_get("engage.options.width");
   options.height = ecore_config_int_get("engage.options.height");
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/engage.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- engage.h    8 May 2004 17:48:29 -0000       1.12
+++ engage.h    10 May 2004 11:06:41 -0000      1.13
@@ -29,7 +29,7 @@
 extern Ecore_X_Window od_window;
 extern bool     need_redraw;
 
-int             od_config_init(int argc, char **argv);
+int             od_config_init();
 void            od_config_menu_draw(Evas_Coord x, Evas_Coord y);
 
 void            od_window_init();
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- main.c      8 May 2004 17:48:29 -0000       1.6
+++ main.c      10 May 2004 11:06:41 -0000      1.7
@@ -21,14 +21,14 @@
   ecore_x_init(NULL);
   ecore_config_init("engage");
 
-  if (od_config_init(argc, argv) != ECORE_CONFIG_PARSE_CONTINUE) {
+  ecore_app_args_set(argc, (const char **) argv);
+  if (od_config_init() != ECORE_CONFIG_PARSE_CONTINUE) {
     ecore_config_shutdown();
     ecore_x_shutdown();
     ecore_shutdown();
     exit(0);
   }
 
-  ecore_app_args_set(argc, (const char **) argv);
   ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, exit_cb, NULL);
   ecore_evas_init();
   ewl_init(&argc, argv);




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to