Re: GTK_FLOATING broken in 2.9?



On Thu, 15 Dec 2005, Morten Welinder wrote:

Could we at the type-level have a flag controlling whether the glib-
level should create a floating ref or a pre-sinked ref?

that wouldn't quite work out i think.

Anything derived from GtkObject could then set it to "pre-sinked"
and GTK+ could do its own floating ref handling.  That ought to
ensure ABI compatibility, but would it do whatever it is that
people want from floating refs?

nope, g_object_ref_sink() wouldn't have the same effect as gtk_object_ref+gtk_object_sink then.


Morten

---
ciaoTJ



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