diff options
author | Jeff Cai <jeff.cai@sun.com> | 2006-03-28 14:26:00 +0800 |
---|---|---|
committer | Simon Zheng <simonz@src.gnome.org> | 2006-03-28 14:26:00 +0800 |
commit | c127a3bc1b9402904af59038be40bbbe883ce7c5 (patch) | |
tree | 8aa8f11232da13debe9592564abc27db740bf6fc /plugins/caldav/caldav-source.c | |
parent | b35d81ae0829510bcf40e1109be10bee917300cb (diff) | |
download | gsoc2013-evolution-c127a3bc1b9402904af59038be40bbbe883ce7c5.tar.gz gsoc2013-evolution-c127a3bc1b9402904af59038be40bbbe883ce7c5.tar.zst gsoc2013-evolution-c127a3bc1b9402904af59038be40bbbe883ce7c5.zip |
** Fixes #333881 Set an empty string instead of null for a TEXT entry.
2006-03-28 Jeff Cai <jeff.cai@sun.com>
** Fixes #333881
* caldav-source.c: (oge_caldav):
Set an empty string instead of null for a TEXT entry.
svn path=/trunk/; revision=31749
Diffstat (limited to 'plugins/caldav/caldav-source.c')
-rw-r--r-- | plugins/caldav/caldav-source.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |