From c127a3bc1b9402904af59038be40bbbe883ce7c5 Mon Sep 17 00:00:00 2001 From: Jeff Cai Date: Tue, 28 Mar 2006 06:26:00 +0000 Subject: ** Fixes #333881 Set an empty string instead of null for a TEXT entry. 2006-03-28 Jeff Cai ** Fixes #333881 * caldav-source.c: (oge_caldav): Set an empty string instead of null for a TEXT entry. svn path=/trunk/; revision=31749 --- plugins/caldav/ChangeLog | 6 ++++++ plugins/caldav/caldav-source.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/caldav/ChangeLog b/plugins/caldav/ChangeLog index e882bb30dc..ce8acbe244 100644 --- a/plugins/caldav/ChangeLog +++ b/plugins/caldav/ChangeLog @@ -1,3 +1,9 @@ +2006-03-28 Jeff Cai + + ** Fixes #333881 + * caldav-source.c: (oge_caldav): + Set an empty string instead of null for a TEXT entry. + 2006-02-22 Irene.Huang Fixes bug #328252 diff --git a/plugins/caldav/caldav-source.c b/plugins/caldav/caldav-source.c index f03f5f50a4..5233537fdd 100644 --- a/plugins/caldav/caldav-source.c +++ b/plugins/caldav/caldav-source.c @@ -289,7 +289,7 @@ oge_caldav (EPlugin *epl, user = gtk_entry_new (); gtk_widget_show (user); - gtk_entry_set_text (GTK_ENTRY (user), username); + gtk_entry_set_text (GTK_ENTRY (user), username ? username : ""); gtk_table_attach (GTK_TABLE (parent), user, 1, 2, row + 2, row + 3, GTK_EXPAND | GTK_FILL, 0, 0, 0); -- cgit