Re: GObject and Gtk+ Finalization

Havoc Pennington <hp redhat com> writes:

> Some consequences are that all new code with GtkObject that should
> move to GObject later should ref/sink the object in the contructor to
> strip the floating flag, and should do nothing in the destroy handler.

What would be the correct way to do cleanup of resources used by the
object that is compatible with both Gtk 1.2 and Gtk 2.0?

 - Maciej

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