[evolution-data-server] Fix e-data-book-factory.c regression.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix e-data-book-factory.c regression.
- Date: Thu, 15 Jul 2010 12:33:53 +0000 (UTC)
commit f5ad654d9087d2bd04b82b04d009d8019a6cf862
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jul 15 08:31:02 2010 -0400
Fix e-data-book-factory.c regression.
addressbook/libedata-book/e-data-book-factory.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book-factory.c b/addressbook/libedata-book/e-data-book-factory.c
index 01cd5e3..230d730 100644
--- a/addressbook/libedata-book/e-data-book-factory.c
+++ b/addressbook/libedata-book/e-data-book-factory.c
@@ -117,7 +117,7 @@ e_data_book_factory_register_backend (EDataBookFactory *book_factory,
}
g_hash_table_insert (
- book_factory->priv->backends,
+ book_factory->priv->factories,
g_strdup (proto), backend_factory);
}
@@ -169,12 +169,12 @@ e_data_book_factory_set_backend_mode (EDataBookFactory *factory,
g_return_if_fail (E_IS_DATA_BOOK_FACTORY (factory));
factory->priv->mode = mode;
- g_mutex_lock (factory->priv->connections_lock);
+ g_mutex_lock (factory->priv->backends_lock);
g_hash_table_foreach (
- factory->priv->connections,
+ factory->priv->backends,
set_backend_online_status,
GINT_TO_POINTER (factory->priv->mode));
- g_mutex_unlock (factory->priv->connections_lock);
+ g_mutex_unlock (factory->priv->backends_lock);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]