summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/unit.cpp')
-rw-r--r--src/live_effects/parameter/unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp
index 36b6efacc..602d806a0 100644
--- a/src/live_effects/parameter/unit.cpp
+++ b/src/live_effects/parameter/unit.cpp
@@ -4,11 +4,11 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include "ui/widget/registered-widget.h"
#include <glibmm/i18n.h>
#include "live_effects/parameter/unit.h"
#include "live_effects/effect.h"
-#include "ui/widget/registered-widget.h"
#include "verbs.h"
namespace Inkscape {
@@ -59,7 +59,7 @@ UnitParam::param_set_value(SPUnit const *val)
}
const gchar *
-UnitParam::get_abbreviation()
+UnitParam::get_abbreviation() const
{
return sp_unit_get_abbreviation(unit);
}