diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2013-10-05 03:54:43 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2013-10-05 03:54:43 +0000 |
| commit | 706294ff1fa82c86089221d8ee4a0d5bd032925a (patch) | |
| tree | 4f57389a922f2cb3fdcec99cb21599580e954867 /src/ui/widget/selected-style.cpp | |
| parent | C++ (diff) | |
| download | inkscape-706294ff1fa82c86089221d8ee4a0d5bd032925a.tar.gz inkscape-706294ff1fa82c86089221d8ee4a0d5bd032925a.zip | |
Rewrite the internals of the unit code for somewhat better performance
(bzr r12661)
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index 894700046..97581aa83 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -313,7 +313,7 @@ SelectedStyle::SelectedStyle(bool /*layout*/) Inkscape::Util::UnitTable::UnitMap::iterator iter = m.begin(); while(iter != m.end()) { Gtk::RadioMenuItem *mi = Gtk::manage(new Gtk::RadioMenuItem(_sw_group)); - mi->add(*(new Gtk::Label((*iter).first, 0.0, 0.5))); + mi->add(*(new Gtk::Label(iter->first, 0.0, 0.5))); _unit_mis = g_slist_append(_unit_mis, mi); Inkscape::Util::Unit const *u = new Inkscape::Util::Unit(unit_table.getUnit(iter->first)); mi->signal_activate().connect(sigc::bind<Inkscape::Util::Unit>(sigc::mem_fun(*this, &SelectedStyle::on_popup_units), *u)); |
