forked from AuroraMiddleware/gtk
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:
parent
e71dfee544
commit
938af0e4c3
@ -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 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
Renamed GtkCellRendererKeys to GtkCellRendererAccel to be
|
||||
|
@ -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 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
Renamed GtkCellRendererKeys to GtkCellRendererAccel to be
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user