2007-10-10 [colin] 3.0.2cvs53
[claws.git] / src / headerview.c
index a9621ac314edb31974d910c21943173c712bdd43..dcf9a3b7483610dde78493233bb8f506a328182e 100644 (file)
@@ -343,8 +343,14 @@ static void headerview_save_contact_pic (HeaderView *headerview, MsgInfo *msginf
        filename = addrindex_get_picture_file(msginfo->from);
        if (!filename)
                return;
-       if (!is_file_exist(filename))
+       if (!is_file_exist(filename)) {
                gdk_pixbuf_save(picture, filename, "png", &error, NULL);
+               if (error) {
+                       g_warning(_("Failed to save image: \n%s"),
+                                       error->message);
+                       g_error_free(error);
+               }
+       }
        g_free(filename);
 }