From: Enlightenment C. <no...@cv...> - 2007-06-18 18:01:38
|
Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/efreet Dir : e17/libs/efreet/src/bin Modified Files: ef_data_dirs.c Log Message: - make sure we have the right number of nodes =================================================================== RCS file: /cvs/e/e17/libs/efreet/src/bin/ef_data_dirs.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ef_data_dirs.c 26 Mar 2007 17:00:17 -0000 1.4 +++ ef_data_dirs.c 18 Jun 2007 18:01:37 -0000 1.5 @@ -199,6 +199,12 @@ i = 0; tmp = efreet_data_dirs_get(); + if (ecore_list_nodes(tmp) != 2) + { + printf("efreet_data_dirs_get() nodes is differnet from expected default\n"); + ret = 0; + } + ecore_list_goto_first(tmp); while ((val = ecore_list_next(tmp))) { |