Drop the reference to the pixbuf, regardless whether it is a stock pixbuf.

2004-10-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
	Drop the reference to the pixbuf, regardless whether it is
	a stock pixbuf.  (#156863, Philip Langdale)
This commit is contained in:
Matthias Clasen 2004-10-30 02:57:23 +00:00 committed by Matthias Clasen
parent 9002d5c310
commit cd9b8f93ce
5 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
Drop the reference to the pixbuf, regardless whether it is
a stock pixbuf. (#156863, Philip Langdale)
2004-10-29 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gtk/makefile.msc.in : updated

View File

@ -1,3 +1,9 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
Drop the reference to the pixbuf, regardless whether it is
a stock pixbuf. (#156863, Philip Langdale)
2004-10-29 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gtk/makefile.msc.in : updated

View File

@ -1,3 +1,9 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
Drop the reference to the pixbuf, regardless whether it is
a stock pixbuf. (#156863, Philip Langdale)
2004-10-29 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gtk/makefile.msc.in : updated

View File

@ -1,3 +1,9 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
Drop the reference to the pixbuf, regardless whether it is
a stock pixbuf. (#156863, Philip Langdale)
2004-10-29 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gtk/makefile.msc.in : updated

View File

@ -194,7 +194,7 @@ gtk_cell_renderer_pixbuf_finalize (GObject *object)
priv = GTK_CELL_RENDERER_PIXBUF_GET_PRIVATE (object);
if (cellpixbuf->pixbuf && priv->stock_id)
if (cellpixbuf->pixbuf)
g_object_unref (cellpixbuf->pixbuf);
if (priv->stock_id)