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/live_effects | |
| 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/live_effects')
| -rw-r--r-- | src/live_effects/parameter/togglebutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/togglebutton.cpp b/src/live_effects/parameter/togglebutton.cpp index faeb27a55..89a1c426a 100644 --- a/src/live_effects/parameter/togglebutton.cpp +++ b/src/live_effects/parameter/togglebutton.cpp @@ -113,9 +113,9 @@ ToggleButtonParam::param_newWidget() gtk_widget_show(box_button); GtkWidget *icon_button = nullptr; if (!value) { - icon_button = GTK_WIDGET(sp_get_icon_image(_icon_inactive, _icon_size)); + icon_button = sp_get_icon_image(_icon_inactive, _icon_size); } else { - icon_button = GTK_WIDGET(sp_get_icon_image(_icon_active, _icon_size)); + icon_button = sp_get_icon_image(_icon_active, _icon_size); } gtk_widget_show(icon_button); gtk_box_pack_start (GTK_BOX(box_button), icon_button, false, false, 1); |
