Don't leak expander pixbufs. (#316946, Tommi Komulainen)
2005-09-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize): Don't leak expander pixbufs. (#316946, Tommi Komulainen)
This commit is contained in:
committed by
Matthias Clasen
parent
596dbc3ce8
commit
1b7d3176f5
@@ -1,3 +1,8 @@
|
||||
2005-09-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
|
||||
Don't leak expander pixbufs. (#316946, Tommi Komulainen)
|
||||
|
||||
2005-09-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2005-09-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
|
||||
Don't leak expander pixbufs. (#316946, Tommi Komulainen)
|
||||
|
||||
2005-09-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation
|
||||
|
||||
@@ -238,6 +238,10 @@ gtk_cell_renderer_pixbuf_finalize (GObject *object)
|
||||
|
||||
if (cellpixbuf->pixbuf)
|
||||
g_object_unref (cellpixbuf->pixbuf);
|
||||
if (cellpixbuf->pixbuf_expander_open)
|
||||
g_object_unref (cellpixbuf->pixbuf_expander_open);
|
||||
if (cellpixbuf->pixbuf_expander_closed)
|
||||
g_object_unref (cellpixbuf->pixbuf_expander_closed);
|
||||
|
||||
g_free (priv->stock_id);
|
||||
g_free (priv->stock_detail);
|
||||
|
||||
Reference in New Issue
Block a user