* src/widgets/modest-folder-view.c:
authorJose Dapena Paz <jdapena@igalia.com>
Fri, 9 Nov 2007 13:48:30 +0000 (13:48 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Fri, 9 Nov 2007 13:48:30 +0000 (13:48 +0000)
* Fixed a leak caused by a typo in new pixbuf allocating code.

pmo-trunk-r3687

src/widgets/modest-folder-view.c

index 1548c65..1ffff14 100644 (file)
@@ -749,7 +749,7 @@ get_folder_icons (TnyFolderType type, GObject *instance)
            if (!sent_pixbuf)
                sent_pixbuf = gdk_pixbuf_copy (modest_platform_get_icon (MODEST_FOLDER_ICON_SENT));
 
-           if (!junk_pixbuf_open) {
+           if (!sent_pixbuf_open) {
                GdkPixbuf *emblem = modest_platform_get_icon ("qgn_list_gene_fldr_exp");
                sent_pixbuf_open = gdk_pixbuf_copy (sent_pixbuf);
                gdk_pixbuf_composite (emblem, sent_pixbuf_open, 0, 0,