mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Clean up user data. (#344624, Christian Weiske)
2006-06-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize): Clean up user data. (#344624, Christian Weiske)
This commit is contained in:
parent
84e837769a
commit
6bc87f5d3b
@ -1,5 +1,8 @@
|
||||
2006-06-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize):
|
||||
Clean up user data. (#344624, Christian Weiske)
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
* gtk/gtkprintjob.c:
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-06-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize):
|
||||
Clean up user data. (#344624, Christian Weiske)
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
* gtk/gtkprintjob.c:
|
||||
|
@ -97,7 +97,7 @@ struct _GtkTreeModelFilterPrivate
|
||||
GType *modify_types;
|
||||
GtkTreeModelFilterModifyFunc modify_func;
|
||||
gpointer modify_data;
|
||||
gpointer modify_destroy;
|
||||
GtkDestroyNotify modify_destroy;
|
||||
|
||||
gint visible_column;
|
||||
|
||||
@ -372,6 +372,12 @@ gtk_tree_model_filter_finalize (GObject *object)
|
||||
|
||||
if (filter->priv->modify_types)
|
||||
g_free (filter->priv->modify_types);
|
||||
|
||||
if (filter->priv->modify_destroy)
|
||||
filter->priv->modify_destroy (filter->priv->modify_data);
|
||||
|
||||
if (filter->priv->visible_destroy)
|
||||
filter->priv->visible_destroy (filter->priv->visible_data);
|
||||
|
||||
/* must chain up */
|
||||
G_OBJECT_CLASS (gtk_tree_model_filter_parent_class)->finalize (object);
|
||||
|
Loading…
Reference in New Issue
Block a user