aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-11-09 19:42:49 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-11-09 19:42:49 +0800
commit1e9e8ac380238b05021d2f83d2d28f34d3063336 (patch)
tree5f0df0a2edbad9af2cbf49943b5ca6e2259e6bd6
parent88273d6f7c2af64867715dfdadc98d8babbe8856 (diff)
downloadgsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.tar
gsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.tar.gz
gsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.tar.bz2
gsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.tar.lz
gsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.tar.xz
gsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.tar.zst
gsoc2013-evolution-1e9e8ac380238b05021d2f83d2d28f34d3063336.zip
modified e_categories_config_get_icon_for to have a g_object_unref for the
GdkPixBuff object created here. svn path=/trunk/; revision=30584
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-categories-config.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index b1af6f8635..8e0a97a24b 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-09 P. S. Chakravarthi <pchakravarthi@novell.com>
+
+ Fixes #314638
+ * e-categories-config.c (e_categories_config_get_icon_for):
+ added a g_object_unref to unref the GdkPixBuff object
+ created in this function.
+
2005-10-18 Srinivasa Ragavan <sragavan@novell.com>
* e-dialog-utils.c: (save_ok), (e_file_dialog_save),
diff --git a/e-util/e-categories-config.c b/e-util/e-categories-config.c
index eaf5510c72..0bf75f9d5f 100644
--- a/e-util/e-categories-config.c
+++ b/e-util/e-categories-config.c
@@ -56,6 +56,7 @@ e_categories_config_get_icon_for (const char *category, GdkPixmap **pixmap, GdkB
if (mask != NULL)
*mask = tmp_mask;
+ g_object_unref (pixbuf);
return TRUE;
}