summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2018-11-10 08:39:14 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-02-20 15:35:31 +0000
commit4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13 (patch)
tree8a1f72e8d93e518ce28770f9864278a1e2ba2c9d /src
parentRemove Tags functionality (replaced by css selectors) (diff)
downloadinkscape-4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13.tar.gz
inkscape-4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13.zip
Fix missing properties method, pass properties structure
Diffstat (limited to 'src')
-rw-r--r--src/style.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index bf14d66ce..87ae6cf2c 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -478,7 +478,7 @@ SPStyle::~SPStyle() {
fill_ps_changed_connection.disconnect();
stroke_ps_changed_connection.disconnect();
- // The following should be moved into SPIPaint and SPIFilter
+// The following should be moved into SPIPaint and SPIFilter
if (fill.value.href) {
fill_ps_modified_connection.disconnect();
}
@@ -501,6 +501,11 @@ SPStyle::~SPStyle() {
// std::cout << "SPStyle::~SPStyle(): Exit\n" << std::endl;
}
+const std::vector<SPIBase *> SPStyle::properties()
+{
+ return this->_properties;
+}
+
void
SPStyle::clear(SPAttributeEnum id) {
SPIBase *p = _prop_helper.get(this, id);