ESourceRegistry: Do not mandate builtin sources.
authorTristan Van Berkom <tristanvb@openismus.com>
Thu, 13 Dec 2012 07:14:19 +0000 (16:14 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Sat, 15 Dec 2012 05:12:15 +0000 (14:12 +0900)
commit78340f9274d5c2ee0f52507f935f97d6b92f513e
treebfd052c709cac218647a1c39000a031e1c39f741
parenta18ce519725e700b8cb5b9c2723a5e8ef797ad28
ESourceRegistry: Do not mandate builtin sources.

This patch removes return_if_fail() critical warnings from
e_source_registry_ref_[default,builtin]_address_book() and
e_source_registry_ref_[default,builtin]_calendar(). This
avoids the console warnings when running make check.

Also, this patch fixes several locations in EDS where the
above functions blindly expect an #ESource to be returned.
addressbook/backends/file/e-book-backend-file.c
addressbook/libebook/e-book-client.c
calendar/backends/file/e-cal-backend-file.c
libedataserver/e-source-registry.c
tests/libebook/client/client-test-utils.c