This is a patch to install stricter reference counting in Gtk.  I
think it fixes a few rare bugs (so as to allow the same-game of Gnome
to run, for example) but is more likely to introduce new ones.

It mostly does away with the *_destroy functions, so it is not
backward compatible. 

One thing to watch out for is gdk_window_destroy: Every call to this
function must be matched with either gdk_window_new or gdk_window_ref.

Read the new file REFCOUNTING for some notes.  The GtkObject ref
counting has not been addressed, but I'm working on that, too.

It also has some additional support for interpreters and an important
bugfix.  Please read the ChangeLog.

Contact: Marius Vollmer <>

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