Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : apps/elitaire

Dir     : e17/apps/elitaire/src


Modified Files:
        edje_frontend_gui.cpp eli_app.cpp eli_hiscore.c 


Log Message:
*API BREAK* see the discussion in the mailing list. misc and e_modules will 
follow

===================================================================
RCS file: /cvs/e/e17/apps/elitaire/src/edje_frontend_gui.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- edje_frontend_gui.cpp       14 Jul 2007 21:31:09 -0000      1.8
+++ edje_frontend_gui.cpp       25 Jul 2007 17:00:52 -0000      1.9
@@ -649,7 +649,7 @@
     file = ecore_config_theme_with_path_from_name_get(eap->theme.gui.current);
     l = eap->theme.gui.list;
 
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
     while ((theme_name = (const char *) ecore_list_next(l))) {
         Evas_Object * item;
 
@@ -687,7 +687,7 @@
             evas_object_del(item);
         }
     }
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
 
     if (file) 
         free(file);
@@ -704,7 +704,7 @@
     file = ecore_config_theme_with_path_from_name_get(eap->theme.gui.current);
     l = eap->theme.cards.list;
 
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
     while ((cards_name = (const char *) ecore_list_next(l))) {
         Evas_Object * item;
 
@@ -741,7 +741,7 @@
             evas_object_del(item);
         }
     }
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
 
     if (file)
         free(file);
===================================================================
RCS file: /cvs/e/e17/apps/elitaire/src/eli_app.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eli_app.cpp 9 Jun 2007 23:20:09 -0000       1.2
+++ eli_app.cpp 25 Jul 2007 17:00:52 -0000      1.3
@@ -275,7 +275,7 @@
         /* take the first theme if the wanted doesnt exists */
         char * src;
 
-        src = (char *) ecore_list_goto_first(eap->theme.gui.list);
+        src = (char *) ecore_list_first_goto(eap->theme.gui.list);
         if (!src) {
            fprintf(stderr, _("Elitaire Error: No theme file in %s!\n"),
                                  ecore_config_theme_search_path_get());
@@ -291,7 +291,7 @@
         /* take the first theme if the wanted doesnt exists */
         char *src;
 
-        src = (char *) ecore_list_goto_first(eap->theme.cards.list);
+        src = (char *) ecore_list_first_goto(eap->theme.cards.list);
         if (!src)
             fprintf(stderr, _("Elitaire Error: No cards file in %s!\n"),
                     ecore_config_theme_search_path_get());
@@ -328,7 +328,7 @@
     l = eli_theme_names_get();
 
     /* selecting the gui theme */
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
     while ((name = (char *) ecore_list_next(l))) {
         file = ecore_config_theme_with_path_from_name_get(name);
 
@@ -341,7 +341,7 @@
 
         free(file);
     }
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
 
     eap->theme.gui.list = gui;
     eap->theme.cards.list = cards;
@@ -392,7 +392,7 @@
     free(*dir_list);
     free(dir_list);
 
-    ecore_list_goto_first(out_l);
+    ecore_list_first_goto(out_l);
 
     return out_l;
 }
@@ -435,14 +435,14 @@
     
     if (!l) return false;
 
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
     while ((data = (char *) ecore_list_next(l))) {
         if (!strcmp(theme, data)) {
             return true;
         }
     }
 
-    ecore_list_goto_first(l);
+    ecore_list_first_goto(l);
     return false;
 }
 
===================================================================
RCS file: /cvs/e/e17/apps/elitaire/src/eli_hiscore.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eli_hiscore.c       26 Jun 2007 14:43:09 -0000      1.3
+++ eli_hiscore.c       25 Jul 2007 17:00:52 -0000      1.4
@@ -96,7 +96,7 @@
      * setup the hiscore hash
      */
     hiscore_tree = ecore_tree_new(ecore_str_compare);
-    ecore_tree_set_free_key(hiscore_tree, free);
+    ecore_tree_free_key_cb_set(hiscore_tree, free);
 
     /*
      * fill the hash
@@ -123,7 +123,7 @@
 void eli_highscore_shutdown(void)
 {
     /* free the data */
-    ecore_tree_set_free_value(hiscore_tree, 
+    ecore_tree_free_value_cb_set(hiscore_tree, 
                                      ECORE_FREE_CB(_eli_highscore_list_free));
     ecore_tree_destroy(hiscore_tree);
     eet_data_descriptor_free(edd_hiscore);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to