Re: GtkTreeModelFilter
- From: Olivier Sessink <lists olivier pk wau nl>
- To: jpandrusky gmail com
- Cc: gtk-app-dev <gtk-app-devel-list gnome org>
- Subject: Re: GtkTreeModelFilter
- Date: Wed, 25 May 2005 18:11:07 +0200
Andrusky wrote:
What's the best way to change the virtual root of a GtkTreeModelFilter?
I did a g_object_unref it to it (it has only 1 reference now) and then
tried to just replace the filter with a new one. After I did this, the
reference count drop to 0, so I'm assuming it is supposed to be deleted.
When I run valgrind on the program however, I leak memory every time
I replace the filter.
as far as I know, there is no way to change it (the property is
read-only, and there is no _set() function), and you'll have to
construct a new filter, and unref the old one..
That is at least what I do.
regards,
Olivier Sessink
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]