projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0736dc9
)
* another g_return_... stomped
author
Arne Zellentin
<arne@kernelconcepts.de>
Mon, 12 Jun 2006 13:46:29 +0000
(13:46 +0000)
committer
Arne Zellentin
<arne@kernelconcepts.de>
Mon, 12 Jun 2006 13:46:29 +0000
(13:46 +0000)
pmo-trunk-r233
src/modest-tny-msg-view.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-msg-view.c
b/src/modest-tny-msg-view.c
index
dd25060
..
675abb2
100644
(file)
--- a/
src/modest-tny-msg-view.c
+++ b/
src/modest-tny-msg-view.c
@@
-410,7
+410,9
@@
attachments_as_html(ModestTnyMsgView *self, TnyMsgIface *msg)
filename = "";
content_type = tny_msg_mime_part_iface_get_content_type(
TNY_MSG_MIME_PART_IFACE(attachment->data));
- g_return_val_if_fail(content_type, NULL);
+ if (!content_type)
+ continue;
+
if ((strcmp("image/jpeg", content_type) == 0) ||
(strcmp("image/gif", content_type) == 0)) {
filename = tny_msg_mime_part_iface_get_filename(