summaryrefslogtreecommitdiffstats
path: root/src/widgets/measure-toolbar.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-13 18:20:26 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-13 18:20:26 +0000
commit8e30821fa53134256a47dc977e607b1949eeec33 (patch)
treed51ef233932502ef56d563ac8497483878691628 /src/widgets/measure-toolbar.cpp
parentUpdate to trunk (diff)
parentwe don't have nondocked dialogs, so rewrite restoring dialogs on startup via ... (diff)
downloadinkscape-8e30821fa53134256a47dc977e607b1949eeec33.tar.gz
inkscape-8e30821fa53134256a47dc977e607b1949eeec33.zip
Update to trunk
(bzr r11950.1.181)
Diffstat (limited to 'src/widgets/measure-toolbar.cpp')
-rw-r--r--src/widgets/measure-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/measure-toolbar.cpp b/src/widgets/measure-toolbar.cpp
index 53ed2d275..58244566d 100644
--- a/src/widgets/measure-toolbar.cpp
+++ b/src/widgets/measure-toolbar.cpp
@@ -82,7 +82,7 @@ sp_measure_fontsize_value_changed(GtkAdjustment *adj, GObject *tbl)
static void measure_unit_changed(GtkAction* /*act*/, GObject* tbl)
{
UnitTracker* tracker = reinterpret_cast<UnitTracker*>(g_object_get_data(tbl, "tracker"));
- Glib::ustring const unit = tracker->getActiveUnit().abbr;
+ Glib::ustring const unit = tracker->getActiveUnit()->abbr;
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
prefs->setString("/tools/measure/unit", unit);
}