Re: Re[2]: Does GTK leak memory
- From: Tadej Borovšak <tadeboro gmail com>
- To: Lothar Scholz <llothar web de>
- Cc: gtk-list gnome org, Paul Davis <paul linuxaudiosystems com>
- Subject: Re: Re[2]: Does GTK leak memory
- Date: Wed, 2 Jun 2010 16:08:33 +0200
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]