summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/unit.h
diff options
context:
space:
mode:
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: