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 589275 - [csw] Trying to destroy NULL regions
[csw] Trying to destroy NULL regions
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-07-21 16:34 UTC by Cody Russell
Modified: 2009-07-21 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (329 bytes, patch)
2009-07-21 16:35 UTC, Cody Russell
committed Details | Review

Description Cody Russell 2009-07-21 16:34:56 UTC
gdk_window_input_shape_combine_mask() seems to be trying to destroy NULL regions in certain situations.  Will post patch next.
Comment 1 Cody Russell 2009-07-21 16:35:29 UTC
Created attachment 138922 [details] [review]
Proposed patch
Comment 2 Matthias Clasen 2009-07-21 16:42:05 UTC
Thats obviously correct.

Can you please also fix the docs for the @region argument to state that it may be NULL ?
Comment 3 Cody Russell 2009-07-21 16:42:40 UTC
Sure, will do.