From 75d662f71d8eeb4b1c83e9bb61c1bd56f9b0e959 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 21 Jul 2018 04:55:31 +0200 Subject: adding gtk-theme --- src/widgets/stroke-style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widgets/stroke-style.cpp') diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp index 9f702a3c4..3a5abbca4 100644 --- a/src/widgets/stroke-style.cpp +++ b/src/widgets/stroke-style.cpp @@ -28,6 +28,7 @@ #include "svg/svg-color.h" +#include "helper/icon-loader.h" #include "ui/widget/unit-menu.h" #include "widgets/style-utils.h" @@ -120,8 +121,7 @@ StrokeStyle::StrokeStyleButton::StrokeStyleButton(Gtk::RadioButtonGroup &grp, show(); set_mode(false); - auto px = Gtk::manage(new Gtk::Image()); - px->set_from_icon_name(icon, Gtk::ICON_SIZE_LARGE_TOOLBAR); + auto px = Gtk::manage(sp_get_icon_image(icon, Gtk::ICON_SIZE_LARGE_TOOLBAR)); g_assert(px != nullptr); px->show(); add(*px); -- cgit v1.2.3