[evolution-data-server] Declare missing GError variable in e_data_book_factory_init
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Declare missing GError variable in e_data_book_factory_init
- Date: Tue, 27 Sep 2011 10:50:29 +0000 (UTC)
commit 8fd66bc2a3c7a44304501a7fb06608363ca79975
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Tue Sep 27 12:50:26 2011 +0200
Declare missing GError variable in e_data_book_factory_init
addressbook/libedata-book/e-data-book-factory.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book-factory.c b/addressbook/libedata-book/e-data-book-factory.c
index 6d6798f..22853e3 100644
--- a/addressbook/libedata-book/e-data-book-factory.c
+++ b/addressbook/libedata-book/e-data-book-factory.c
@@ -522,6 +522,10 @@ e_data_book_factory_accounts_changed_cb (GoaClient *client, GDBusObject *object,
static void
e_data_book_factory_init (EDataBookFactory *factory)
{
+#ifdef HAVE_GOA
+ GError *error = NULL;
+#endif
+
factory->priv = E_DATA_BOOK_FACTORY_GET_PRIVATE (factory);
factory->priv->gdbus_object = e_gdbus_book_factory_stub_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]