gtk_tree_model_sort_real_unref_node and gtk_tree_model_filter_real_unref node critical
- From: Nicolas Soubeiran <nicolas soubeiran gmail com>
- To: gtk-app-devel-list gnome org
- Subject: gtk_tree_model_sort_real_unref_node and gtk_tree_model_filter_real_unref node critical
- Date: Thu, 10 Feb 2011 14:27:37 +0100
Hi all,
I'm always working on a treeview that display a "sorted filtered" :
the model displayed is a GtkTreeModelSort whose child is a
GtkTreeModelFilter whose child is a GtkListStore.
Sometime when the model is actually sort and filtered I have on
selection 2 Gtk-Critical on gtk_tree_model_sort_real_unref_node and
gtk_tree_model_filter_real_unref node : assertion elt->ref_count > 0.
I investigate a little and see that these critical errors came from
treeview->priv->anchor and treeview->priv->top_row, and other
GtkTreeRowReference owned by treeview. Can anyone explain me who used
them and if it is possible that they are shared ? I supposed it can be
due to a "double free".
Since it's really hard to follow I need some help. I am quite sure it
is my code that does something wrong (mainly because I do not
reproduce it with "simple" example, that why I cannot send a test
source). But I cannot find where.
Another issue is that sometimes when I sort the treeview, the selected
row is changed. (without emitting signals ...)
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]