summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-06-29 13:28:54 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-06-29 13:28:54 +0000
commit88e5cefd2b64d56aa00009f91d9c481c9b8c3c74 (patch)
tree901357ee4a10db7a130c7c591e2fe85ee32bc931 /src/widgets/stroke-style.cpp
parentglade WIP (diff)
parentHackfest icon work: restore selected menu icons and make theming easier (diff)
downloadinkscape-88e5cefd2b64d56aa00009f91d9c481c9b8c3c74.tar.gz
inkscape-88e5cefd2b64d56aa00009f91d9c481c9b8c3c74.zip
Merge branch 'master' of gitlab.com:inkscape/inkscape
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index de3e98297..3115a32db 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -111,8 +111,9 @@ StrokeStyle::StrokeStyleButton::StrokeStyleButton(Gtk::RadioButtonGroup &grp,
{
show();
set_mode(false);
-
- Gtk::Widget *px = Gtk::manage(Glib::wrap(sp_icon_new(Inkscape::ICON_SIZE_LARGE_TOOLBAR, icon)));
+
+ auto px = Gtk::manage(new Gtk::Image());
+ px->set_from_icon_name(icon, Gtk::ICON_SIZE_LARGE_TOOLBAR);
g_assert(px != NULL);
px->show();
add(*px);