Re: Q: gnome-object reference counting



Dietmar Maurer <dm@vlsivie.tuwien.ac.at> writes:

> A GnomeObject is a GtkObject. Both have reference counting functions:
> 
> gtk_object_ref | gnome_object_ref (gtk_object_unref |
> gnome_object_unref)
> 
> Why do we need both?

If I am not mistaken, they don't increase the same refcount...
gnome_object_ref/unref use corba to ref/unref the CORBA::Object
which is encapsulated in the GnomeObject... This allows you to 
ref/unref distant objects.


ragrds,
Mathieu
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-components-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.



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