gtk: Add a box render node for gadgets

Desktop / GNOME / GTK - Emmanuele Bassi [gnome.org] - 18 October 2016 05:49 UTC

Instead of using the background as the gadget's node, we add a non-drawing node that can be used to apply offsets; all other nodes are children of the "box" node.

b2f5a69 gtk: Add a box render node for gadgets
gtk/gtkcssgadget.c | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)

Upstream: git.gnome.org


  • Share