diff options
author | Chris Toshok <toshok@ximian.com> | 2003-02-27 06:39:27 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-02-27 06:39:27 +0800 |
commit | 77e9bd8497e09c16aff8c0bdd35ac2b333983e67 (patch) | |
tree | acdc072be2dcb62b6e0c6353ebd433a3a2ed3ac8 /addressbook/backend/ebook | |
parent | bf636265e06e47f6eb8273dac33111688af930e8 (diff) | |
download | gsoc2013-evolution-77e9bd8497e09c16aff8c0bdd35ac2b333983e67.tar.gz gsoc2013-evolution-77e9bd8497e09c16aff8c0bdd35ac2b333983e67.tar.zst gsoc2013-evolution-77e9bd8497e09c16aff8c0bdd35ac2b333983e67.zip |
if we fail to activate factories for a given protocol, return.
2003-02-26 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_load_uri): if we fail to activate
factories for a given protocol, return.
* gui/component/ldap-config.glade: remove the two unused custom
widgets to cut down on gtk warning spam.
svn path=/trunk/; revision=20080
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r-- | addressbook/backend/ebook/e-book.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index dd7b433ff8..c20f0e7c5c 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -757,6 +757,7 @@ e_book_load_uri (EBook *book, /* try to find a list of factories that can handle the protocol */ if (!activate_factories_for_uri (book, uri)) { open_response (book, E_BOOK_STATUS_PROTOCOL_NOT_SUPPORTED, closure); + return; } g_free (book->priv->uri); |