Author: akv
Date: 2010-01-28 00:16:24 +0100 (Thu, 28 Jan 2010)
New Revision: 3100
Modified:
branches/rawstudio-ng-color/librawstudio/rs-utils.c
branches/rawstudio-ng-color/librawstudio/rs-utils.h
Log:
Made output from rs_normalize_path() non const.
Modified: branches/rawstudio-ng-color/librawstudio/rs-utils.c
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-utils.c 2010-01-27 22:26:54 UTC
(rev 3099)
+++ branches/rawstudio-ng-color/librawstudio/rs-utils.c 2010-01-27 23:16:24 UTC
(rev 3100)
@@ -675,8 +675,8 @@
return ret;
}
-const gchar *
-rs_normalize_path(const gchar *path)
+gchar *
+rs_normalize_path(gchar *path)
{
char temp [PATH_MAX+1];
return realpath(path, temp);
Modified: branches/rawstudio-ng-color/librawstudio/rs-utils.h
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-utils.h 2010-01-27 22:26:54 UTC
(rev 3099)
+++ branches/rawstudio-ng-color/librawstudio/rs-utils.h 2010-01-27 23:16:24 UTC
(rev 3100)
@@ -165,6 +165,6 @@
const gchar * rs_human_aperture(gdouble aperture);
const gchar * rs_human_focal(gdouble min, gdouble max);
-const gchar * rs_normalize_path(const gchar *path);
+gchar * rs_normalize_path(gchar *path);
#endif /* RS_UTILS_H */
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit