forked from AuroraMiddleware/gtk
free temporary paths after usage (patch from maemo-gtk),
2006-02-08 Kristian Rietveld <kris@imendio.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path), (gtk_tree_model_filter_unref_path): free temporary paths after usage (patch from maemo-gtk), (gtk_tree_model_filter_clear_cache): fix little typo in the docs (patch from maemo-gtk). * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove stale FIXME.
This commit is contained in:
parent
1ebbe4d376
commit
a25bc9a0b7
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2006-02-08 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path),
|
||||
(gtk_tree_model_filter_unref_path): free temporary paths after
|
||||
usage (patch from maemo-gtk),
|
||||
(gtk_tree_model_filter_clear_cache): fix little typo in the docs
|
||||
(patch from maemo-gtk).
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove
|
||||
stale FIXME.
|
||||
|
||||
2006-02-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
|
||||
|
@ -1,3 +1,14 @@
|
||||
2006-02-08 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path),
|
||||
(gtk_tree_model_filter_unref_path): free temporary paths after
|
||||
usage (patch from maemo-gtk),
|
||||
(gtk_tree_model_filter_clear_cache): fix little typo in the docs
|
||||
(patch from maemo-gtk).
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove
|
||||
stale FIXME.
|
||||
|
||||
2006-02-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
|
||||
|
@ -2818,6 +2818,8 @@ gtk_tree_model_filter_ref_path (GtkTreeModelFilter *filter,
|
||||
gtk_tree_model_ref_node (GTK_TREE_MODEL (filter->priv->child_model), &iter);
|
||||
gtk_tree_path_up (p);
|
||||
}
|
||||
|
||||
gtk_tree_path_free (p);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -2837,6 +2839,8 @@ gtk_tree_model_filter_unref_path (GtkTreeModelFilter *filter,
|
||||
gtk_tree_model_unref_node (GTK_TREE_MODEL (filter->priv->child_model), &iter);
|
||||
gtk_tree_path_up (p);
|
||||
}
|
||||
|
||||
gtk_tree_path_free (p);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -3344,7 +3348,7 @@ gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter)
|
||||
* gtk_tree_model_ref_node(). This might be useful if the child model
|
||||
* being filtered is static (and doesn't change often) and there has been
|
||||
* a lot of unreffed access to nodes. As a side effect of this function,
|
||||
* all unreffed itters will be invalid.
|
||||
* all unreffed iters will be invalid.
|
||||
*
|
||||
* Since: 2.4
|
||||
*/
|
||||
|
@ -767,7 +767,6 @@ gtk_tree_model_sort_row_has_child_toggled (GtkTreeModel *s_model,
|
||||
gtk_tree_path_free (path);
|
||||
}
|
||||
|
||||
/* FIXME: I still have doubts if this works */
|
||||
static void
|
||||
gtk_tree_model_sort_row_deleted (GtkTreeModel *s_model,
|
||||
GtkTreePath *s_path,
|
||||
|
Loading…
Reference in New Issue
Block a user