After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762021 - GtkPaned propagates draw to NULL child
GtkPaned propagates draw to NULL child
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-02-14 06:25 UTC by Christian Hergert
Modified: 2016-02-14 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
check for valid child widget before calling propagate draw (1.28 KB, patch)
2016-02-14 06:25 UTC, Christian Hergert
none Details | Review

Description Christian Hergert 2016-02-14 06:25:44 UTC
Created attachment 321097 [details] [review]
check for valid child widget before calling propagate draw

I'm seeing a lot of this in Builder right now:

Gtk[25764]: CRITICAL: gtk_container_propagate_draw: assertion 'GTK_IS_WIDGET (child)' failed

It seems to be caused by our use of GtkPaned inside of GtkPaned (inside of GtkPaned), so the last GtkPaned always has a NULL child2.

Simple patch attached.
Comment 1 Benjamin Otte (Company) 2016-02-14 15:14:49 UTC
Did some refactoring to GtkPaned, which should have fixed this.
Comment 2 Matthias Clasen 2016-02-14 16:34:16 UTC
asumme this is fixed, then