diff options
Diffstat (limited to 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 6 | ||||
-rw-r--r-- | my-evolution/e-summary.c | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 4b3bd0c870..fae5f529b6 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,9 @@ +2001-07-03 Iain Holmes <iain@ximian.com> + + * e-summary.c (e_summary_set_online): Return if summary == NULL. + (e_summary_add_connections): Return NULL if summary == NULL. + (e_summary_count_connections): Return 0 if summary == NULL. + 2001-07-02 Iain Holmes <iain@ximian.com> * e-summary-tasks.[ch]: New files for tasks. diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c index 1af0b1edac..833073c94c 100644 --- a/my-evolution/e-summary.c +++ b/my-evolution/e-summary.c @@ -589,6 +589,10 @@ e_summary_count_connections (ESummary *summary) GList *p; int count = 0; + if (summary == NULL) { + return 0; + } + for (p = summary->priv->connections; p; p = p->next) { ESummaryConnection *c; @@ -605,6 +609,10 @@ e_summary_add_connections (ESummary *summary) GList *p; GList *connections = NULL; + if (summary == NULL) { + return NULL; + } + for (p = summary->priv->connections; p; p = p->next) { ESummaryConnection *c; GList *r; @@ -626,6 +634,10 @@ e_summary_set_online (ESummary *summary, { GList *p; + if (summary == NULL) { + return; + } + for (p = summary->priv->connections; p; p = p->next) { ESummaryConnection *c; |