18 lines
668 B
Diff
18 lines
668 B
Diff
--- evolution-2.10.1/calendar/gui/calendar-component.c.calendar-component 2007-05-07 14:07:16.000000000 -0400
|
|
+++ evolution-2.10.1/calendar/gui/calendar-component.c 2007-05-07 14:11:48.000000000 -0400
|
|
@@ -210,7 +210,13 @@
|
|
GSList *s;
|
|
for (s = sources; s; s = s->next) {
|
|
ESource *source = E_SOURCE (s->data);
|
|
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
|
+ const gchar *relative_uri;
|
|
+
|
|
+ g_assert (source != NULL);
|
|
+ relative_uri = e_source_peek_relative_uri (source);
|
|
+ if (relative_uri == NULL)
|
|
+ continue;
|
|
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
|
personal_source = source;
|
|
break;
|
|
}
|