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>
Tue, 3 Apr 2018 07:41:09 +0000 (08:41 +0100)
commitaeff1fc534d651686703716e9f33b3c0cd2f4cc6
treecf4028e9d000d6a9f3dba68f488fd72137773c65
parent178798a7b26908d41212e216002b3b1f0ca503aa
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