Re: GTK_FLOATING broken in 2.9?



On Tue, 2005-12-20 at 17:27 +0100, Tim Janik wrote:
> GObject:
> - created with ref_count=1
> - not initially floating

This is the key I think. The point of my theoretical rant is that I
think it's really bad if I do:

 obj = g_object_new(TYPE_WHATEVER);

and don't know whether I own a refcount or not. The programmer needs to
know this.

> GtkObject, derived from GFloating object:

Changing the GtkObject parent class seems likely to break ABI to me...

Otherwise the API you sketched out seems fine.

Havoc





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