Re: [gtk-vnc-devel] BadColor error on connect



On Thu, Apr 24, 2008 at 12:57:29PM +0200, Guido G?nther wrote:
> On Wed, Apr 23, 2008 at 08:29:45AM -0300, Jonh Wendell wrote:
> > Em Qua, 2008-04-23 às 09:12 +0200, Guido Günther escreveu:
> > > On Tue, Apr 22, 2008 at 06:27:41PM +0100, Daniel P. Berrange wrote:
> > > > Actually its not a gtkglext bug at all. It is a GTK bug & is fixed 
> > > > upstream.
> > > I search the GTK svn but couldn't find a fix. Do you have a pointer to
> > > the necessary patch or what the problem actuall is?
> > >  -- Guido
> > 
> > Maybe that:
> > http://svn.gnome.org/viewvc/gtk%
> > 2B?view=revision&sortby=date&revision=19969
> > 
> Applying that an rebuilding gtk doesn't change anything for me.

That changeset is definitely the fix - the problem was that GtkGLExt loads
a GdkColourmap object based on the global colormap ID stored in a property
on the root window. When the GtkGlExt config object is unref, it unrefs
the colormap, and this causes Gtk to destroy the global shared colormap.
The fix stops Gtk from destroying foreign shared colormaps.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




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