diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-10-20 18:50:29 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-10-20 18:50:29 +0000 |
| commit | 683029f31f0f1814c21ca65f7f113ac12b6242fb (patch) | |
| tree | 4d4adb5dcfc962c4caaebaf6b448cc8b6477a194 /src/preferences.cpp | |
| parent | Merge branch 'cleanups' of gitlab.com:stfacc/inkscape (diff) | |
| parent | Refactor Util::ptr_shared (diff) | |
| download | inkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.tar.gz inkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.zip | |
Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape
Diffstat (limited to 'src/preferences.cpp')
| -rw-r--r-- | src/preferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp index 4d14afa93..9d5fb0639 100644 --- a/src/preferences.cpp +++ b/src/preferences.cpp @@ -76,7 +76,7 @@ public: _filter(filter) {} virtual ~PrefNodeObserver() {} - virtual void notifyAttributeChanged(XML::Node &node, GQuark name, Util::ptr_shared<char>, Util::ptr_shared<char>); + virtual void notifyAttributeChanged(XML::Node &node, GQuark name, Util::ptr_shared, Util::ptr_shared); private: Observer &_observer; Glib::ustring const _filter; @@ -561,7 +561,7 @@ Preferences::Observer::~Observer() prefs->removeObserver(*this); } -void Preferences::PrefNodeObserver::notifyAttributeChanged(XML::Node &node, GQuark name, Util::ptr_shared<char>, Util::ptr_shared<char> new_value) +void Preferences::PrefNodeObserver::notifyAttributeChanged(XML::Node &node, GQuark name, Util::ptr_shared, Util::ptr_shared new_value) { // filter out attributes we don't watch gchar const *attr_name = g_quark_to_string(name); |
