Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_misc.c ewl_misc.h ewl_tree.c 


Log Message:
More work on the tree. Minor change to the ewl_init function to modify the
args passed to it. Added some framework for a dialog box theme. 

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_misc.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- ewl_misc.c  28 Oct 2003 05:05:19 -0000      1.47
+++ ewl_misc.c  28 Oct 2003 18:49:33 -0000      1.48
@@ -18,7 +18,7 @@
 
 static Ewd_List *child_add_list= NULL;
 
-static void     __ewl_init_parse_options(int argc, char **argv);
+static void     __ewl_init_parse_options(int *argc, char **argv);
 static void     __ewl_init_remove_option(int *argc, char **argv, int i);
 int             __ewl_ecore_exit(void *data, int type, void *event);
 static int      ewl_reread_config(void *data);
@@ -52,7 +52,7 @@
  * Sets up necessary internal variables for executing ewl
  * functions. This should be called before any other ewl functions are used.
  */
-void ewl_init(int argc, char **argv)
+void ewl_init(int *argc, char **argv)
 {
        char           *xdisplay = NULL;
 
@@ -205,17 +205,17 @@
  * Returns no value. Parses the arguments of the program into sections that
  * ewl knows how to deal with.
  */
-static void __ewl_init_parse_options(int argc, char **argv)
+static void __ewl_init_parse_options(int *argc, char **argv)
 {
        int i;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
 
        i = 0;
-       while (i < argc) {
+       while (i < *argc) {
                if (!strcmp(argv[i], "--ewl-segv")) {
                        debug_segv = 1;
-                       __ewl_init_remove_option(&argc, argv, i);
+                       __ewl_init_remove_option(argc, argv, i);
                }
                else
                        i++;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_misc.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ewl_misc.h  16 Oct 2003 20:54:25 -0000      1.21
+++ ewl_misc.h  28 Oct 2003 18:49:34 -0000      1.22
@@ -15,7 +15,7 @@
        char           *xdisplay;
 };
 
-void            ewl_init(int argc, char **argv);
+void            ewl_init(int *argc, char **argv);
 void            ewl_main(void);
 void            ewl_main_quit(void);
 void            ewl_configure_request(Ewl_Widget * w);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_tree.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ewl_tree.c  25 Oct 2003 05:55:47 -0000      1.22
+++ ewl_tree.c  28 Oct 2003 18:49:34 -0000      1.23
@@ -439,7 +439,7 @@
 
        node->expanded = EWL_TREE_NODE_COLLAPSED;
 
-       ewl_widget_set_state(w, "collapsed");
+       ewl_widget_set_state(EWL_WIDGET(node), "collapsed");
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to