summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererpixbuf.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-10-30 02:57:23 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-30 02:57:23 +0000
commitcd9b8f93ceb6d2937808f00199732705315f97de (patch)
tree9323083a03c95d254adfed1e9fa3e9254c003bdb /gtk/gtkcellrendererpixbuf.c
parent9002d5c31095e6bc20a1cd1dd2305da1ed860285 (diff)
downloadgtk+-cd9b8f93ceb6d2937808f00199732705315f97de.tar.gz
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)
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r--gtk/gtkcellrendererpixbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 3c20b4dc17..0cdbb3c3ed 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -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)