Commit 6bc87f5d authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 84e83776
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:
......
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment