[evolution-data-server/dbus: 29/33] Move the addressbook dbus connection variable
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-data-server/dbus: 29/33] Move the addressbook dbus connection variable
- Date: Mon, 1 Jun 2009 11:15:07 -0400 (EDT)
commit 9f14e08a69bfa0b874e08df0374e3a5182305dd3
Author: Ross Burton <ross linux intel com>
Date: Mon Jun 1 16:03:19 2009 +0100
Move the addressbook dbus connection variable
---
addressbook/libedata-book/e-data-book-factory.c | 2 +-
addressbook/libedata-book/e-data-book.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/addressbook/libedata-book/e-data-book-factory.c b/addressbook/libedata-book/e-data-book-factory.c
index 1baa1da..b6a792d 100644
--- a/addressbook/libedata-book/e-data-book-factory.c
+++ b/addressbook/libedata-book/e-data-book-factory.c
@@ -40,7 +40,7 @@ static gchar *nm_dbus_escape_object_path (const gchar *utf8_string);
static GMainLoop *loop;
static EDataBookFactory *factory;
-DBusGConnection *connection;
+extern DBusGConnection *connection;
/* Convenience macro to test and set a GError/return on failure */
#define g_set_error_val_if_fail(test, returnval, error, domain, code) G_STMT_START{ \
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index d205364..8f78b42 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -34,7 +34,7 @@
#include "e-book-backend-sexp.h"
#include "opid.h"
-extern DBusGConnection *connection;
+DBusGConnection *connection;
/* DBus glue */
static void impl_AddressBook_Book_open(EDataBook *book, gboolean only_if_exists, DBusGMethodInvocation *context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]