aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-03-05 06:20:54 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-03-05 06:20:54 +0800
commit896ab49a3c3cec8d616a31741df1df95bb594529 (patch)
tree8296f6f7b34fbaedbb6670e543c2067828c6457c /addressbook
parentb7129ad46192c18f0d17a6289570dacfa653be95 (diff)
downloadgsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.tar
gsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.tar.gz
gsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.tar.bz2
gsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.tar.lz
gsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.tar.xz
gsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.tar.zst
gsoc2013-evolution-896ab49a3c3cec8d616a31741df1df95bb594529.zip
Fixes #37881
2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/component/select-names/e-simple-card-bonobo.c (impl_SimpleCard_get): if we get a null value, send back the empty string svn path=/trunk/; revision=20159
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/component/select-names/e-simple-card-bonobo.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 81999a3b0c..d0da0ade39 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,13 @@
2003-03-04 JP Rosevear <jpr@ximian.com>
+ Fixes #37881
+
+ * gui/component/select-names/e-simple-card-bonobo.c
+ (impl_SimpleCard_get): if we get a null value, send back the empty
+ string
+
+2003-03-04 JP Rosevear <jpr@ximian.com>
+
* gui/component/select-names/e-select-names.etspec: reflect prior column addition
* gui/component/select-names/e-select-names-bonobo.c
diff --git a/addressbook/gui/component/select-names/e-simple-card-bonobo.c b/addressbook/gui/component/select-names/e-simple-card-bonobo.c
index 0577daa648..07203618b3 100644
--- a/addressbook/gui/component/select-names/e-simple-card-bonobo.c
+++ b/addressbook/gui/component/select-names/e-simple-card-bonobo.c
@@ -100,7 +100,7 @@ impl_SimpleCard_get (PortableServer_Servant servant,
if (priv->card_simple) {
char *value = e_card_simple_get (priv->card_simple,
field);
- char *ret_val = CORBA_string_dup (value);
+ char *ret_val = CORBA_string_dup (value ? value : "");
g_free (value);
return ret_val;
} else {