forked from AuroraMiddleware/gtk
Don't leak tree model and tree row reference. (#148125, Crispin Flowerday)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak tree model and tree row reference. (#148125, Crispin Flowerday)
This commit is contained in:
parent
f0505514b2
commit
eaadb3ad62
@ -1,3 +1,8 @@
|
||||
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
|
||||
tree model and tree row reference. (#148125, Crispin Flowerday)
|
||||
|
||||
Wed Jul 21 22:17:06 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testcombo.c (main): Don't leak models. (#148128,
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
|
||||
tree model and tree row reference. (#148125, Crispin Flowerday)
|
||||
|
||||
Wed Jul 21 22:17:06 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testcombo.c (main): Don't leak models. (#148128,
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
|
||||
tree model and tree row reference. (#148125, Crispin Flowerday)
|
||||
|
||||
Wed Jul 21 22:17:06 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testcombo.c (main): Don't leak models. (#148128,
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
|
||||
tree model and tree row reference. (#148125, Crispin Flowerday)
|
||||
|
||||
Wed Jul 21 22:17:06 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testcombo.c (main): Don't leak models. (#148128,
|
||||
|
@ -293,7 +293,15 @@ gtk_cell_view_style_set (GtkWidget *widget,
|
||||
static void
|
||||
gtk_cell_view_finalize (GObject *object)
|
||||
{
|
||||
gtk_cell_view_cell_layout_clear (GTK_CELL_LAYOUT (object));
|
||||
GtkCellView *cellview = GTK_CELL_VIEW (object);
|
||||
|
||||
gtk_cell_view_cell_layout_clear (GTK_CELL_LAYOUT (cellview));
|
||||
|
||||
if (cellview->priv->model)
|
||||
g_object_unref (cellview->priv->model);
|
||||
|
||||
if (cellview->priv->displayed_row)
|
||||
gtk_tree_row_reference_free (cellview->priv->displayed_row);
|
||||
|
||||
if (G_OBJECT_CLASS (parent_class)->finalize)
|
||||
(* G_OBJECT_CLASS (parent_class)->finalize) (object);
|
||||
|
Loading…
Reference in New Issue
Block a user