theme: use gtk_render_icon_suface to paint button icon
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 30 Mar 2018 20:13:41 +0000 (14:13 -0600)
committerSimon McVittie <smcv@debian.org>
Sat, 27 Apr 2019 23:13:35 +0000 (00:13 +0100)
commitcaaaa2182513646fc4c3fec2eeb4541b80bfd39c
tree0fc7723cfd8bbf062ba187217660551374be9c6f
parent1a98e076b2243b0f8910ced84132dde97386dfb4
theme: use gtk_render_icon_suface to paint button icon

This will properly take care of the icon transformations
and of the shadow.

Fixes #100

Bug: https://gitlab.gnome.org/GNOME/mutter/issues/100
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1764558
Forwarded: yes, https://gitlab.gnome.org/GNOME/mutter/merge_requests/62

Gbp-Pq: Name theme-use-gtk_render_icon_suface-to-paint-button-icon.patch
src/ui/theme.c