need to use gtk_tree_model_filter_get_iter_full() since the path returned

2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreemodelfilter.c
	(gtk_tree_model_filter_convert_child_path_to_path): need to use
	gtk_tree_model_filter_get_iter_full() since the path returned
	by gtk_real_tree_model_filter_convert_child_path_to_path() includes
	invisible nodes.
This commit is contained in:
Kristian Rietveld 2006-06-02 18:39:25 +00:00 committed by Kristian Rietveld
parent 125893d77a
commit 3180e45356
3 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2006-06-02 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreemodelfilter.c
(gtk_tree_model_filter_convert_child_path_to_path): need to use
gtk_tree_model_filter_get_iter_full() since the path returned
by gtk_real_tree_model_filter_convert_child_path_to_path() includes
invisible nodes.
2006-06-02 Matthias Clasen <mclasen@redhat.com> 2006-06-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow

View File

@ -1,3 +1,11 @@
2006-06-02 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreemodelfilter.c
(gtk_tree_model_filter_convert_child_path_to_path): need to use
gtk_tree_model_filter_get_iter_full() since the path returned
by gtk_real_tree_model_filter_convert_child_path_to_path() includes
invisible nodes.
2006-06-02 Matthias Clasen <mclasen@redhat.com> 2006-06-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow

View File

@ -3170,7 +3170,7 @@ gtk_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter,
* version of convert_child_path_to_path immediately returning * version of convert_child_path_to_path immediately returning
* a visible-nodes-only path. * a visible-nodes-only path.
*/ */
gtk_tree_model_get_iter (GTK_TREE_MODEL (filter), &iter, path); gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter), &iter, path);
gtk_tree_path_free (path); gtk_tree_path_free (path);
path = gtk_tree_model_get_path (GTK_TREE_MODEL (filter), &iter); path = gtk_tree_model_get_path (GTK_TREE_MODEL (filter), &iter);