From e6e76e1cac60c978e6f86d3f813e577e722cb23d Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Wed, 17 Dec 2003 22:56:27 +0000 Subject: if we set a new stock_id and there was a previous stock_id, unref the Wed Dec 17 23:50:56 2003 Kristian Rietveld * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): if we set a new stock_id and there was a previous stock_id, unref the pixbuf (since it was used to renderer the previous stock_id and stock_id might have been set to NULL now). (Fixes #122966). --- ChangeLog.pre-2-10 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog.pre-2-10') diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c379ace58c..330716fa94 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Wed Dec 17 23:50:56 2003 Kristian Rietveld + + * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): + if we set a new stock_id and there was a previous stock_id, unref + the pixbuf (since it was used to renderer the previous stock_id + and stock_id might have been set to NULL now). (Fixes #122966). + 2003-12-17 Marco Pesenti Gritti * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter): -- cgit v1.2.1