Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop Modified Files: ecore_desktop_icon.c Log Message: variable is only used in this function. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -3 -r1.25 -r1.26 --- ecore_desktop_icon.c 23 Sep 2006 08:48:49 -0000 1.25 +++ ecore_desktop_icon.c 23 Sep 2006 08:49:31 -0000 1.26 @@ -25,7 +25,6 @@ { "", ".edj", ".png", ".svgz", ".svg", ".xpm", NULL }; /* "" is in case the icon already has an extension, search for that first. */ static int init_count = 0; static Ecore_Hash *icon_theme_cache; -static int loaded = 0; /** * @defgroup Ecore_Desktop_Icon_Group icon theme Functions @@ -315,6 +314,7 @@ Ecore_Hash * ecore_desktop_icon_theme_list(void) { + static int loaded = 0; if (!loaded) ecore_desktop_paths_file_find(ecore_desktop_paths_icons, "index.theme", 2, _ecore_desktop_icon_theme_list_add, NULL); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs