Re: Re[2]: Does GTK leak memory



Hello.

> By the way, is there any way to find out what the reference count of
> an object is?

There is no need to know this. All you need to take care of is your
references on GObject. Most of the time this means calling
g_object_unref() when you don't need GObject that you created or
received it by the func that transfers ownership to you (for example
g_object_get()).

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com


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