gtkstylecontext: guard against gtk_css_widget_node_get_widget() returning NULL in...
authorChristoph Reiter <creiter@src.gnome.org>
Mon, 19 Mar 2018 17:21:25 +0000 (18:21 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 22 Mar 2018 10:15:24 +0000 (10:15 +0000)
commit0a4661e35cbdd54b8a0c2174bbac6d3404484a09
tree1646b6d0bd4bd771d6bf1de84a42124f97f90434
parent6692d6d34f9565483a162cb8cc26a94812b53fbd
gtkstylecontext: guard against gtk_css_widget_node_get_widget() returning NULL in more places

When the widget gets finalized it clears the widgetnode and gtk_css_widget_node_get_widget
returns NULL. Guard against gtk_css_widget_node_get_widget() returning NULL like in other
places.

See https://gitlab.gnome.org/GNOME/pygobject/issues/28#note_82862

Origin: upstream, 3.22.30, commit:d65a4c2e0abeefb1e61e32a2da2c1e1ba9987817

Gbp-Pq: Name 0011-gtkstylecontext-guard-against-gtk_css_widget_node_ge.patch
gtk/gtkstylecontext.c