[evolution-rss] sanitize taskbar operations
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] sanitize taskbar operations
- Date: Fri, 5 Mar 2010 15:49:26 +0000 (UTC)
commit f42bda3c1de2bb73eb046f78ed4e58a6a516b77d
Author: Lucian Langa <lucilanga gnome org>
Date: Fri Mar 5 17:49:14 2010 +0200
sanitize taskbar operations
src/notification.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/notification.c b/src/notification.c
index e30574c..c34d499 100644
--- a/src/notification.c
+++ b/src/notification.c
@@ -167,6 +167,7 @@ taskbar_push_message(gchar *message)
e_activity_handler_set_message(activity_handler, message);
#else
EShellTaskbar *shell_taskbar;
+ g_return_if_fail(rss_shell_view != NULL);
shell_taskbar = e_shell_view_get_shell_taskbar (rss_shell_view);
e_shell_taskbar_set_message (shell_taskbar, message);
#endif
@@ -181,6 +182,7 @@ taskbar_pop_message(void)
e_activity_handler_unset_message(activity_handler);
#else
EShellTaskbar *shell_taskbar;
+ g_return_if_fail(rss_shell_view != NULL);
shell_taskbar = e_shell_view_get_shell_taskbar (rss_shell_view);
e_shell_taskbar_set_message (shell_taskbar, "");
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]