summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorStephen Silver <sasilver@yahoo.com>2008-07-14 10:19:53 +0000
committersasilver <sasilver@users.sourceforge.net>2008-07-14 10:19:53 +0000
commit7961d4e7e17ebda57ad576e768a4e4bd69c18a95 (patch)
tree4bb59bafe627b99796b15860b09d5882e2e86101 /src/sp-object.h
parentsmall code cleanup using newly discovered 2geom method :) (diff)
downloadinkscape-7961d4e7e17ebda57ad576e768a4e4bd69c18a95.tar.gz
inkscape-7961d4e7e17ebda57ad576e768a4e4bd69c18a95.zip
Some improvements to my title/desc stuff of revision 18759 (see bug 171024).
(bzr r6290)
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index ccc063d5f..095494a6f 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -241,12 +241,12 @@ struct SPObject : public GObject {
/** Retrieves the title of this object */
gchar *title() const;
/** Sets the title of this object */
- void setTitle(gchar const *title);
+ bool setTitle(gchar const *title, bool verbatim=false);
/** Retrieves the description of this object */
gchar *desc() const;
/** Sets the description of this object */
- void setDesc(gchar const *desc);
+ bool setDesc(gchar const *desc, bool verbatim=false);
/** @brief Set the policy under which this object will be
* orphan-collected.
@@ -491,7 +491,7 @@ struct SPObject : public GObject {
private:
// Private member functions used in the definitions of setTitle(),
// setDesc(), title() and desc().
- void setTitleOrDesc(gchar const *value, gchar const *svg_tagname);
+ bool setTitleOrDesc(gchar const *value, gchar const *svg_tagname, bool verbatim);
gchar * getTitleOrDesc(gchar const *svg_tagname) const;
SPObject * findFirstChild(gchar const *tagname) const;
GString * textualContent() const;