diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-06-06 17:51:26 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-06-06 17:51:26 +0000 |
| commit | a5ae1a33cd4a9100c9466d092ec6b3305afed3f5 (patch) | |
| tree | 85edab94bb56aadc370daf269b7ff59e3e292c03 /src/ui/widget/spin-button-tool-item.cpp | |
| parent | Style fixes. (diff) | |
| download | inkscape-a5ae1a33cd4a9100c9466d092ec6b3305afed3f5.tar.gz inkscape-a5ae1a33cd4a9100c9466d092ec6b3305afed3f5.zip | |
Fix build (loading icon).
Diffstat (limited to 'src/ui/widget/spin-button-tool-item.cpp')
| -rw-r--r-- | src/ui/widget/spin-button-tool-item.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/widget/spin-button-tool-item.cpp b/src/ui/widget/spin-button-tool-item.cpp index e190d8dd2..c21989723 100644 --- a/src/ui/widget/spin-button-tool-item.cpp +++ b/src/ui/widget/spin-button-tool-item.cpp @@ -10,6 +10,7 @@ #include <utility> #include "spinbutton.h" +#include "ui/icon-loader.h" namespace Inkscape { namespace UI { @@ -406,7 +407,7 @@ void SpinButtonToolItem::set_icon(const Glib::ustring& icon_name) { _hbox->remove(*_label); - _icon = Gtk::manage(new Gtk::Image(icon_name, Gtk::ICON_SIZE_SMALL_TOOLBAR)); + _icon = Gtk::manage(sp_get_icon_image(icon_name, Gtk::ICON_SIZE_SMALL_TOOLBAR)); if(_icon) { _hbox->pack_start(*_icon); |
