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>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commitba5b98132e232fb415f92490d521a74bed5875c3
tree162aedf43db382cc7b023d7522deb81ae1c75775
parentfb2073ffd7205914e4aa6350c584598dc5b0d372
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