Re: [gtk-list] Re: Bad preview colormap refcounting in 970925



On 23 Oct 1997, Marius Vollmer wrote:

> Kenneth Albanowski <kjahds@kjahds.com> writes:
> >
> > I'm not at all sure where the source of the problem is, but I'm running
> > into what is clearly an underref situation with colormaps and
> > gtk_preview_get_cmap. Specifically, simply saying gdk_colormap_ref(x) and
> > gdk_colormap_unref(x)  in succession, the color map is apparently deleted.
> 
> Hmm, could you try the patch I uploaded to ftp.gimp.org?  I think it
> is `gtk-mvo-971013-0'.  It addresses ref counting issues.
[...]
> I'm almost sure that the patch fixes your problem.

No, it doesn't appear to alter it. 970925 has colormap refcounting, and as
far as I can tell the problem is that gtk_preview_get_cmap (or some
previous function) is returning a colormap with a zero refcount. Your
patch does not change this.

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




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