Re: g_object_ref_sink and GUnowned
- From: Yevgen Muntyan <muntyan tamu edu>
- To: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: g_object_ref_sink and GUnowned
- Date: Thu, 22 Dec 2005 12:14:18 -0600
Tim Janik wrote:
in fact, there is no technical reason for this. so many people have
argued this to be better though (havoc even went so far as to argue
why this would be conceptually neccessary), that i decided to simply
sponsor an object type if that helps the majority to understand which
objects are floating and which are not.
Just curious, how it will prevent someone from using floating reference in
GObject-not-GUnowned-derived object? This fuzz was not about names,
it was about "what do I do with this instance of GObject-derived class".
Introducing fancy class with fancy name doesn't change things for
GtkTreeModel, for example.
Those who proposed separate class proposed floating reference to be
implemented in this class; they did not ask to add one more class for sake
of nice name or something.
Yevgen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]