summaryrefslogtreecommitdiffstats
path: root/mail/evolution/files/patch-calendar_gui_e-tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/evolution/files/patch-calendar_gui_e-tasks.c')
-rw-r--r--mail/evolution/files/patch-calendar_gui_e-tasks.c35
1 files changed, 28 insertions, 7 deletions
diff --git a/mail/evolution/files/patch-calendar_gui_e-tasks.c b/mail/evolution/files/patch-calendar_gui_e-tasks.c
index 2f7dd2982..7a3f7d534 100644
--- a/mail/evolution/files/patch-calendar_gui_e-tasks.c
+++ b/mail/evolution/files/patch-calendar_gui_e-tasks.c
@@ -1,11 +1,32 @@
---- calendar/gui/e-tasks.c.orig Wed May 19 11:07:08 2004
-+++ calendar/gui/e-tasks.c Wed Jun 2 14:45:05 2004
-@@ -558,6 +558,8 @@
+===================================================================
+RCS file: /cvs/gnome/evolution/calendar/gui/e-tasks.c,v
+retrieving revision 1.95
+retrieving revision 1.96
+diff -u -r1.95 -r1.96
+--- evolution/calendar/gui/e-tasks.c 2004/06/02 09:33:36 1.95
++++ evolution/calendar/gui/e-tasks.c 2004/06/03 17:54:24 1.96
+@@ -679,15 +679,18 @@
+ {
ETasksPrivate *priv;
va_list args;
- char sz[2048];
+- char sz[2048];
+-
+- va_start (args, message);
+- vsnprintf (sz, sizeof sz, message, args);
+- va_end (args);
++ char sz[2048], *msg_string = NULL;
+
-+ g_return_if_fail (message != NULL);
++ if (message) {
++ va_start (args, message);
++ vsnprintf (sz, sizeof sz, message, args);
++ va_end (args);
++ msg_string = sz;
++ }
+
+ priv = tasks->priv;
- va_start (args, message);
- vsnprintf (sz, sizeof sz, message, args);
+- e_calendar_table_set_status_message (E_CALENDAR_TABLE (priv->tasks_view), sz);
++ e_calendar_table_set_status_message (E_CALENDAR_TABLE (priv->tasks_view), msg_string);
+ }
+
+ /* Callback from the calendar client when an error occurs in the backend */