From 137b0743ddfbd3bbc01c9813615ede91ddd9b954 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 4 Jul 2010 17:40:28 -0400 Subject: Migrate from CamelException to GError. --- widgets/misc/e-account-combo-box.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'widgets/misc/e-account-combo-box.c') diff --git a/widgets/misc/e-account-combo-box.c b/widgets/misc/e-account-combo-box.c index 7d34a29bfe..e2306baae1 100644 --- a/widgets/misc/e-account-combo-box.c +++ b/widgets/misc/e-account-combo-box.c @@ -107,7 +107,6 @@ static gboolean account_combo_box_test_account (EAccount *account) { CamelStore *store; - CamelException ex; const gchar *url; gboolean writable = FALSE; @@ -124,15 +123,13 @@ account_combo_box_test_account (EAccount *account) return TRUE; /* Account must be writable. */ - camel_exception_init (&ex); url = e_account_get_string (account, E_ACCOUNT_SOURCE_URL); store = CAMEL_STORE (camel_session_get_service ( - camel_session, url, CAMEL_PROVIDER_STORE, &ex)); + camel_session, url, CAMEL_PROVIDER_STORE, NULL)); if (store != NULL) { writable = (store->mode & CAMEL_STORE_WRITE); g_object_unref (store); } - camel_exception_clear (&ex); return writable; } -- cgit