Re: cursor refcounts




Owen Taylor <otaylor@redhat.com> writes:
> 
> As a trivial thing, I'd like to see this work the same as
> GdkFont does in head - gdk_font_ref() is cross-platform and calls
> _gdk_font_destroy(). If you want to make that change and then
> go ahead and commit, it's fine with me.
> 

OK, done. I also changed testgtk accordingly, and fixed
gdk_image_ref() which returned junk memory. 

The testgtk cursor test appears to be broken for reasons unrelated to
my patch, so I haven't actually tried things out, but it seems
unlikely to break.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]