summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-10-11 13:51:31 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-10-11 13:51:31 +0000
commitfab0688168cc86bfcdd476ef9846a9d200793897 (patch)
tree91360d333a122aa1251523171d0b17f4b7db5d4e /src/dialogs
parentnoop: dialogs/rdf.cpp: Mark a few pointers as not being written through. Mak... (diff)
downloadinkscape-fab0688168cc86bfcdd476ef9846a9d200793897.tar.gz
inkscape-fab0688168cc86bfcdd476ef9846a9d200793897.zip
Change type of a number of rdf-related fields from char* to char const *.
(bzr r3877)
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/rdf.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dialogs/rdf.h b/src/dialogs/rdf.h
index f4eec5a0c..4c907e7aa 100644
--- a/src/dialogs/rdf.h
+++ b/src/dialogs/rdf.h
@@ -23,18 +23,18 @@
* \brief Holds license name/resource doubles for rdf_license_t entries
*/
struct rdf_double_t {
- gchar *name;
- gchar *resource;
+ gchar const *name;
+ gchar const *resource;
};
/**
* \brief Holds license name and RDF information
*/
struct rdf_license_t {
- gchar *name; /* localized name of this license */
- gchar *uri; /* URL for the RDF/Work/license element */
+ gchar const *name; /* localized name of this license */
+ gchar const *uri; /* URL for the RDF/Work/license element */
struct rdf_double_t *details; /* the license details */
-// gchar *fragment; /* XML contents for the RDF/License tag */
+// gchar const *fragment; /* XML contents for the RDF/License tag */
};
extern rdf_license_t rdf_licenses [];
@@ -69,11 +69,11 @@ enum RDF_Editable {
* \brief Holds known RDF/Work tags
*/
struct rdf_work_entity_t {
- char *name; /* unique name of this entity for internal reference */
- gchar *title; /* localized title of this entity for data entry */
- gchar *tag; /* namespace tag for the RDF/Work element */
+ char const *name; /* unique name of this entity for internal reference */
+ gchar const *title; /* localized title of this entity for data entry */
+ gchar const *tag; /* namespace tag for the RDF/Work element */
RDFType datatype; /* how to extract/inject the RDF information */
- gchar *tip; /* tool tip to explain the meaning of the entity */
+ gchar const *tip; /* tool tip to explain the meaning of the entity */
RDF_Format format; /* in what format is this data edited? */
RDF_Editable editable;/* in what way is the data editable? */
};