GtkTreeModelFilter



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.

-- 
Cheers,

John-Paul Andrusky
  <jpandrusky_at_gmail_dot_com>
  GnuPG Key ID: 01298022

BOFH Excuse #339:

manager in the cable duct



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