diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-11-08 18:36:18 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-11-09 10:44:36 +0000 |
| commit | 0ddbdf18a2cfcf54f591b1372bb3eb9dde9728e2 (patch) | |
| tree | 90fe83ef220a34b5df3877e7b7dc01af82b78a4c /src/widgets/button.cpp | |
| parent | Add README to src/ui/view (diff) | |
| download | inkscape-0ddbdf18a2cfcf54f591b1372bb3eb9dde9728e2.tar.gz inkscape-0ddbdf18a2cfcf54f591b1372bb3eb9dde9728e2.zip | |
This improve symbolic icon rendering moving it to CSS only. There is places in the UI whar we claim for a Pixbuf. Currently its not possible render them as symbolic without the previos hack
Diffstat (limited to 'src/widgets/button.cpp')
| -rw-r--r-- | src/widgets/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/button.cpp b/src/widgets/button.cpp index de7aa8880..8933c2672 100644 --- a/src/widgets/button.cpp +++ b/src/widgets/button.cpp @@ -214,7 +214,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(>k_widget_set_sensitive), GTK_WIDGET(button))); if (action->image) { - child = GTK_WIDGET(sp_get_icon_image(action->image, button->lsize)->gobj()); + child = sp_get_icon_image(action->image, button->lsize); gtk_widget_show(child); gtk_container_add(GTK_CONTAINER(button), child); } |
