summaryrefslogtreecommitdiffstats
path: root/src/widgets/button.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2018-08-17 08:48:41 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-08-17 08:48:41 +0000
commit14d07e6d8545f6bc273b6e6e971409de6c73cb95 (patch)
treef76246f2c3512704915afe287c39fc9aaf33262e /src/widgets/button.cpp
parentFix tiny size of layer visibility/lock icons (diff)
downloadinkscape-14d07e6d8545f6bc273b6e6e971409de6c73cb95.tar.gz
inkscape-14d07e6d8545f6bc273b6e6e971409de6c73cb95.zip
Fix bug pointed by suv in https://gitlab.com/inkscape/inkscape/merge_requests/294#note_95077426
Diffstat (limited to 'src/widgets/button.cpp')
-rw-r--r--src/widgets/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/button.cpp b/src/widgets/button.cpp
index 83094c156..a2848ac03 100644
--- a/src/widgets/button.cpp
+++ b/src/widgets/button.cpp
@@ -212,7 +212,7 @@ static void sp_button_set_action(SPButton *button, SPAction *action)
button->c_set_sensitive = action->signal_set_sensitive.connect(
sigc::bind<0>(sigc::ptr_fun(&gtk_widget_set_sensitive), GTK_WIDGET(button)));
if (action->image) {
- child = GTK_WIDGET(sp_get_icon_image(action->image, "/toolbox/tools/small")->gobj());
+ child = GTK_WIDGET(sp_get_icon_image(action->image, button->lsize)->gobj());
gtk_widget_show(child);
gtk_container_add(GTK_CONTAINER(button), child);
}