Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : test

Dir     : e17/test/orig/ecore/examples


Modified Files:
        list_destroy_example.c list_example.c 


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

===================================================================
RCS file: /cvs/e/e17/test/orig/ecore/examples/list_destroy_example.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- list_destroy_example.c      28 Oct 2006 10:11:03 -0000      1.1
+++ list_destroy_example.c      25 Jul 2007 17:01:04 -0000      1.2
@@ -19,7 +19,7 @@
 
   list = ecore_list_new();
   alloc_data(list);
-  ecore_list_set_free_cb(list, destroy_cb);
+  ecore_list_free_cb_set(list, destroy_cb);
   ecore_list_destroy(list);
 
   return 0;
===================================================================
RCS file: /cvs/e/e17/test/orig/ecore/examples/list_example.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- list_example.c      28 Oct 2006 10:11:03 -0000      1.1
+++ list_example.c      25 Jul 2007 17:01:04 -0000      1.2
@@ -5,7 +5,7 @@
   char *list_item;
 
   printf("--- Current List ---\n");
-  ecore_list_goto_first(list);
+  ecore_list_first_goto(list);
   while((list_item = (char*)ecore_list_next(list)) != NULL) {
     printf("\t%s\n", list_item);
   }
@@ -21,7 +21,7 @@
 
   ecore_list_append(list, last);    // Insert
   ecore_list_prepend(list, first);  // Add to front
-  ecore_list_goto_index(list, 1);   // counted from 0
+  ecore_list_index_goto(list, 1);   // counted from 0
   ecore_list_insert(list, second);  // Insert before item at index 2
   print_list(list);
 



-------------------------------------------------------------------------
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