Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_config Modified Files: Ecore_Config.h ecore_config_extra.c Log Message: add constness; formatting =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_config/Ecore_Config.h,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- Ecore_Config.h 15 Mar 2007 22:21:27 -0000 1.57 +++ Ecore_Config.h 8 Jun 2008 12:38:56 -0000 1.58 @@ -253,7 +253,7 @@ /* FIXME: this should only be included if evas is present */ EAPI int ecore_config_evas_font_path_apply(Evas *evas); EAPI char *ecore_config_theme_search_path_get(void); - EAPI int ecore_config_theme_search_path_append(char *append); + EAPI int ecore_config_theme_search_path_append(const char *append); EAPI char *ecore_config_theme_default_path_get(void); EAPI char *ecore_config_theme_with_path_from_name_get(char *name); =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_config/ecore_config_extra.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ecore_config_extra.c 8 Jan 2006 14:57:14 -0000 1.9 +++ ecore_config_extra.c 8 Jun 2008 12:38:56 -0000 1.10 @@ -407,7 +407,7 @@ * @c ECORE_CONFIG_ERR_FAIL is returned if @p path is @c NULL. */ int -ecore_config_theme_search_path_append(char *path) +ecore_config_theme_search_path_append(const char *path) { char *search_path, *loc, *new_search_path; int len, search_len; @@ -430,9 +430,9 @@ strncat(new_search_path, path, len); ecore_config_string_set("/e/themes/search_path", new_search_path); - prop = ecore_config_get("/e/themes/search_path"); - if (prop) - prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED; + prop = ecore_config_get("/e/themes/search_path"); + if (prop) + prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED; free(new_search_path); ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs