diff options
author | JP Rosevear <jpr@ximian.com> | 2003-04-05 00:31:27 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-04-05 00:31:27 +0800 |
commit | b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f (patch) | |
tree | c133021d5726a4d30f3c05408b1d6b58d65c47d2 /calendar | |
parent | 427a4045014b1e1d7cba62a018cfee2e43f64143 (diff) | |
download | gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.tar gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.tar.gz gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.tar.bz2 gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.tar.lz gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.tar.xz gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.tar.zst gsoc2013-evolution-b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f.zip |
guard against empty uri as well
2003-04-04 JP Rosevear <jpr@ximian.com>
* cal-client/cal-client.c (get_default_uri): guard against empty
uri as well
svn path=/trunk/; revision=20669
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/cal-client/cal-client.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 19767e969b..4ab2888359 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,10 @@ 2003-04-04 JP Rosevear <jpr@ximian.com> + * cal-client/cal-client.c (get_default_uri): guard against empty + uri as well + +2003-04-04 JP Rosevear <jpr@ximian.com> + Fixes #40722 * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index 9921899636..2c7223a5ea 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -975,7 +975,7 @@ get_default_uri (gboolean tasks) uri = e_config_listener_get_string (db, "/apps/evolution/shell/default_folders/calendar_uri"); g_object_unref (G_OBJECT (db)); - if (!uri) + if (!uri || *uri == '\0') uri = get_fall_back_uri (tasks); else uri = cal_util_expand_uri (uri, tasks); |