Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_embed.c ewl_misc.c 


Log Message:
- remove leading _
- add some doxy 

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- ewl_embed.c 31 Jan 2006 05:11:59 -0000      1.46
+++ ewl_embed.c 31 Jan 2006 14:45:01 -0000      1.47
@@ -1459,6 +1459,14 @@
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
+/**
+ * @param w: The Ewl_Widget to get the pointer from
+ * @return Returns no value.
+ *
+ * @brief This will retrieve the attached cursor off of the given widget and
+ * display it. If there is no widget on the widget it will use the default
+ * cursor.
+ */
 void
 ewl_embed_mouse_cursor_set(Ewl_Widget *w)
 {
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- ewl_misc.c  31 Jan 2006 04:21:20 -0000      1.41
+++ ewl_misc.c  31 Jan 2006 14:45:01 -0000      1.42
@@ -24,7 +24,7 @@
 
 static Ecore_Idle_Enterer *idle_enterer = NULL;
 static Ecore_Idler *ewl_garbage_collect = NULL;
-static int _ewl_init_count = 0;
+static int ewl_init_count = 0;
 
 /*
  * Queues for scheduling various actions.
@@ -115,32 +115,32 @@
        DENTER_FUNCTION(DLEVEL_STABLE);
 
        /* check if we are already initialized */
-       if (++_ewl_init_count > 1)
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+       if (++ewl_init_count > 1)
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
 
        ewl_init_parse_options(argc, argv);
 
        if (!evas_init()) {
                DERROR("Could not init evas....\n");
-               DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(--ewl_init_count, DLEVEL_STABLE);
        }
 
        if (!ecore_init()) {
                DERROR("Could not init ecore....\n");
-               DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(--ewl_init_count, DLEVEL_STABLE);
        }
 
        if (!ecore_string_init()) {
                DERROR("Could not init ecore strings....\n");
                ecore_shutdown();
-               DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(--ewl_init_count, DLEVEL_STABLE);
        }
 
        if (!edje_init()) {
                DERROR("Could not init edje....\n");
                ecore_string_shutdown();
                ecore_shutdown();
-               DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(--ewl_init_count, DLEVEL_STABLE);
        }
 
 
@@ -183,19 +183,19 @@
        if (!use_engine) {
                fprintf(stderr, "Cannot open display!\n");
                ewl_shutdown();
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
        }
 
        if (!ewl_config_init()) {
                DERROR("Could not init config data.\n");
                ewl_shutdown();
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
        }
 
        if (!ewl_dnd_init()) {
                DERROR("Count not init dnd.\n");
                ewl_shutdown();
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
        }
 
 
@@ -237,14 +237,14 @@
        if (!ewl_ev_init()) {
                DERROR("Could not init event data.\n");
                ewl_shutdown();
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
        }
 
        ewl_callbacks_init();
 
        if (!ewl_theme_init()) {
                ewl_shutdown();
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
        }
 
        ewl_embed_list = ecore_list_new();
@@ -253,7 +253,7 @@
 
        ewl_text_context_init();
 
-       DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+       DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
 }
 
 /**
@@ -267,8 +267,8 @@
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
 
-       if (--_ewl_init_count)
-               DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+       if (--ewl_init_count)
+               DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
        /*
         * Destroy all existing widgets.
         */
@@ -337,7 +337,7 @@
 
        ecore_shutdown();
 
-       DRETURN_INT(_ewl_init_count, DLEVEL_STABLE);
+       DRETURN_INT(ewl_init_count, DLEVEL_STABLE);
 }
 
 /**




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to