forked from AuroraMiddleware/gtk
just call gtk_cell_view_cell_layout_clear instead of trying to free the
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellview.c (gtk_cell_view_finalize): just call gtk_cell_view_cell_layout_clear instead of trying to free the structure ourselves here. (#125726, Morten Welinder).
This commit is contained in:
parent
f7357a7007
commit
ed42eb8fa6
@ -1,3 +1,9 @@
|
|||||||
|
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
|
||||||
|
gtk_cell_view_cell_layout_clear instead of trying to free the
|
||||||
|
structure ourselves here. (#125726, Morten Welinder).
|
||||||
|
|
||||||
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.[hc]:
|
* gtk/gtkfilechooser.[hc]:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
|
||||||
|
gtk_cell_view_cell_layout_clear instead of trying to free the
|
||||||
|
structure ourselves here. (#125726, Morten Welinder).
|
||||||
|
|
||||||
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.[hc]:
|
* gtk/gtkfilechooser.[hc]:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
|
||||||
|
gtk_cell_view_cell_layout_clear instead of trying to free the
|
||||||
|
structure ourselves here. (#125726, Morten Welinder).
|
||||||
|
|
||||||
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.[hc]:
|
* gtk/gtkfilechooser.[hc]:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
|
||||||
|
gtk_cell_view_cell_layout_clear instead of trying to free the
|
||||||
|
structure ourselves here. (#125726, Morten Welinder).
|
||||||
|
|
||||||
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.[hc]:
|
* gtk/gtkfilechooser.[hc]:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
|
||||||
|
gtk_cell_view_cell_layout_clear instead of trying to free the
|
||||||
|
structure ourselves here. (#125726, Morten Welinder).
|
||||||
|
|
||||||
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.[hc]:
|
* gtk/gtkfilechooser.[hc]:
|
||||||
|
@ -289,12 +289,7 @@ gtk_cell_view_finalize (GObject *object)
|
|||||||
{
|
{
|
||||||
GtkCellView *cellview = GTK_CELL_VIEW (object);
|
GtkCellView *cellview = GTK_CELL_VIEW (object);
|
||||||
|
|
||||||
if (cellview->priv->cell_list)
|
gtk_cell_view_cell_layout_clear (GTK_CELL_LAYOUT (object));
|
||||||
{
|
|
||||||
g_list_foreach (cellview->priv->cell_list, (GFunc)g_free, NULL);
|
|
||||||
g_list_free (cellview->priv->cell_list);
|
|
||||||
}
|
|
||||||
cellview->priv->cell_list = NULL;
|
|
||||||
|
|
||||||
if (G_OBJECT_CLASS (parent_class)->finalize)
|
if (G_OBJECT_CLASS (parent_class)->finalize)
|
||||||
(* G_OBJECT_CLASS (parent_class)->finalize) (object);
|
(* G_OBJECT_CLASS (parent_class)->finalize) (object);
|
||||||
|
Loading…
Reference in New Issue
Block a user