From 4d1cdf98fbe407f5fd376b2fb4197f200a535b37 Mon Sep 17 00:00:00 2001 From: Philip Van Hoof Date: Thu, 8 Nov 2007 16:03:36 +0000 Subject: [PATCH] Memleak fixes pmo-trunk-r3676 --- src/widgets/modest-folder-view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/modest-folder-view.c b/src/widgets/modest-folder-view.c index 3a6fd2b..1548c65 100644 --- a/src/widgets/modest-folder-view.c +++ b/src/widgets/modest-folder-view.c @@ -783,7 +783,7 @@ get_folder_icons (TnyFolderType type, GObject *instance) if (!trash_pixbuf) trash_pixbuf = gdk_pixbuf_copy (modest_platform_get_icon (MODEST_FOLDER_ICON_TRASH)); - if (!junk_pixbuf_open) { + if (!trash_pixbuf_open) { GdkPixbuf *emblem = modest_platform_get_icon ("qgn_list_gene_fldr_exp"); trash_pixbuf_open = gdk_pixbuf_copy (trash_pixbuf); gdk_pixbuf_composite (emblem, trash_pixbuf_open, 0, 0, @@ -817,7 +817,7 @@ get_folder_icons (TnyFolderType type, GObject *instance) if (!draft_pixbuf) draft_pixbuf = gdk_pixbuf_copy (modest_platform_get_icon (MODEST_FOLDER_ICON_DRAFTS)); - if (!junk_pixbuf_open) { + if (!draft_pixbuf_open) { GdkPixbuf *emblem = modest_platform_get_icon ("qgn_list_gene_fldr_exp"); draft_pixbuf_open = gdk_pixbuf_copy (draft_pixbuf); gdk_pixbuf_composite (emblem, draft_pixbuf_open, 0, 0, @@ -852,7 +852,7 @@ get_folder_icons (TnyFolderType type, GObject *instance) if (!normal_pixbuf) normal_pixbuf = gdk_pixbuf_copy (modest_platform_get_icon (MODEST_FOLDER_ICON_NORMAL)); - if (!junk_pixbuf_open) { + if (!normal_pixbuf_open) { GdkPixbuf *emblem = modest_platform_get_icon ("qgn_list_gene_fldr_exp"); normal_pixbuf_open = gdk_pixbuf_copy (normal_pixbuf); gdk_pixbuf_composite (emblem, draft_pixbuf_open, 0, 0, -- 1.7.9.5