On Thu, Jan 20, 2000 at 11:46:52AM -0500, Matt Wilson wrote:
> > Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient'
> 
> I see that too.  Looking into it.

This is going to need a little extra work.  The problem is the gnome
session management client was being passed into Python land
somewhere.  gnome-libs doesn't ref/sink the master client itself, and
the code in CVS currently does a gtk_object_sink on any gtk_object we
wrap from C to Python.

We should only be sinking objects we create in Python land, not random
objects we get from C land that we want to pass back into Python.
This may take a while to fix properly.  Meanwhile, comment out the
  gtk_object_sink(self->obj);
line in gtkmodule.c:108.  The only thing this will hurt would be if
you created a GtkObject but never had anything sink it, by adding it
to a container for example.

Matt
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to