summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/unit.h
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-04-29 00:01:22 +0000
committerJabiertxof <jtx@jtx>2017-04-29 00:01:22 +0000
commite5601e5e84df30c40d93271fd69cecd31391e309 (patch)
tree7408c6a5bb33c58d1757ef9ce85041e532bd5c5e /src/live_effects/parameter/unit.h
parentUpdate to trunk (diff)
downloadinkscape-e5601e5e84df30c40d93271fd69cecd31391e309.tar.gz
inkscape-e5601e5e84df30c40d93271fd69cecd31391e309.zip
Rewrite UX
(bzr r15620.1.12)
Diffstat (limited to 'src/live_effects/parameter/unit.h')
-rw-r--r--src/live_effects/parameter/unit.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/live_effects/parameter/unit.h b/src/live_effects/parameter/unit.h
index ae58cf956..c662b6edc 100644
--- a/src/live_effects/parameter/unit.h
+++ b/src/live_effects/parameter/unit.h
@@ -33,11 +33,10 @@ public:
virtual gchar * param_getSVGValue() const;
virtual void param_set_default();
void param_set_value(Inkscape::Util::Unit const &val);
- void param_update_default(const Glib::ustring default_unit);
+ virtual void param_update_default(const gchar * default_unit);
const gchar *get_abbreviation() const;
-
virtual Gtk::Widget * param_newWidget();
-
+
operator Inkscape::Util::Unit const *() const { return unit; }
private: