GNOME Bugzilla – Bug 635950
Region spans_intersect_foreach() empty input
Last modified: 2010-12-12 13:37:52 UTC
Created attachment 175382 [details] [review] patch and test case This is the bit I mentioned before and prematurely exercised allowing an empty input array to gdk_region_spans_intersect_foreach(). That func accepts n_spans==0, which I take to mean that empty input can reasonably be allowed in the bindings. But the bindings have to avoid passing spans==NULL which a g_new0 would give.
Thanks.