projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
478cd21
)
Check return value of notify_notification_show
author
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 31 Mar 2009 11:57:19 +0000
(11:57 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 31 Mar 2009 11:57:19 +0000
(11:57 +0000)
pmo-trunk-r8491
src/hildon2/modest-platform.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-platform.c
b/src/hildon2/modest-platform.c
index
b27552a
..
e45ee41
100644
(file)
--- a/
src/hildon2/modest-platform.c
+++ b/
src/hildon2/modest-platform.c
@@
-1602,7
+1602,9
@@
modest_platform_on_new_headers_received (TnyList *header_list,
/* Notify. We need to do this in an idle because this function
could be called from a thread */
- notify_notification_show (NOTIFY_NOTIFICATION (notification), NULL);
+ if (!notify_notification_show (NOTIFY_NOTIFICATION (notification), NULL)) {
+ g_warning ("Failed to send notification");
+ }
/* Save id in the list */
g_object_get(G_OBJECT(notification), "id", ¬if_id, NULL);