diff options
author | Chris Toshok <toshok@ximian.com> | 2002-06-12 13:48:31 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-06-12 13:48:31 +0800 |
commit | d5e59dd29a547ffd5ffd6e0081945eb3340b7afb (patch) | |
tree | b45b00cf858086ae7ff9c1089cef8e8ed8a49bdf | |
parent | 8ed89eea97303f2e95c04fd89dc81ec093e4bd8a (diff) | |
download | gsoc2013-evolution-d5e59dd29a547ffd5ffd6e0081945eb3340b7afb.tar.gz gsoc2013-evolution-d5e59dd29a547ffd5ffd6e0081945eb3340b7afb.tar.zst gsoc2013-evolution-d5e59dd29a547ffd5ffd6e0081945eb3340b7afb.zip |
[ fixes bug #17332 ] we shouldn't ever return NULL here. in error cases we
2002-06-11 Chris Toshok <toshok@ximian.com>
[ fixes bug #17332 ]
* backend/ebook/e-book.c (e_book_get_static_capabilities): we
shouldn't ever return NULL here. in error cases we need to return
g_strdup("");
svn path=/trunk/; revision=17173
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-book.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3267ea6656..c4c42d36e2 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2002-06-11 Chris Toshok <toshok@ximian.com> + + [ fixes bug #17332 ] + * backend/ebook/e-book.c (e_book_get_static_capabilities): we + shouldn't ever return NULL here. in error cases we need to return + g_strdup(""); + 2002-06-11 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c (e_minicard_view_event): Made diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index 28308a7016..ca9faff929 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -808,7 +808,7 @@ e_book_get_static_capabilities (EBook *book) g_warning ("e_book_get_static_capabilities: Exception " "during get_static_capabilities!\n"); CORBA_exception_free (&ev); - return NULL; + return g_strdup(""); } ret_val = g_strdup(temp); |