[evolution-data-server/treitter-client-gdbus] Rename the getBook binding in anticipation of async methods (which will omit mention of synchronicit



commit 20dc05dbb5fd28cec017d6323449b0b8a174f091
Author: Travis Reitter <treitter gmail com>
Date:   Tue Dec 1 11:11:56 2009 -0800

    Rename the getBook binding in anticipation of async methods (which will omit mention of synchronicity to encourage use of the async methods).

 addressbook/libebook/e-book.c                      |    2 +-
 .../libebook/e-data-book-factory-gdbus-bindings.h  |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/addressbook/libebook/e-book.c b/addressbook/libebook/e-book.c
index 8fe617b..528127d 100644
--- a/addressbook/libebook/e-book.c
+++ b/addressbook/libebook/e-book.c
@@ -2217,7 +2217,7 @@ e_book_new (ESource *source, GError **error)
 	xml = e_source_to_standalone_xml (source);
 
 	LOCK_CONN ();
-	if (!e_data_book_factory_gdbus_get_book (factory_proxy_gdbus, xml, &path, &err)) {
+	if (!e_data_book_factory_gdbus_get_book_sync (factory_proxy_gdbus, xml, &path, &err)) {
 		UNLOCK_CONN ();
 		g_free (xml);
 		g_warning (G_STRLOC ": cannot get book from factory: %s", err ? err->message : "[no error]");
diff --git a/addressbook/libebook/e-data-book-factory-gdbus-bindings.h b/addressbook/libebook/e-data-book-factory-gdbus-bindings.h
index ef70a77..5aa121f 100644
--- a/addressbook/libebook/e-data-book-factory-gdbus-bindings.h
+++ b/addressbook/libebook/e-data-book-factory-gdbus-bindings.h
@@ -7,8 +7,7 @@ G_BEGIN_DECLS
  * when possible */
 
 static gboolean
-e_data_book_factory_gdbus_get_book (GDBusProxy *proxy, const char * IN_source, char** OUT_path, GError **error)
-
+e_data_book_factory_gdbus_get_book_sync (GDBusProxy *proxy, const char * IN_source, char** OUT_path, GError **error)
 {
 	GVariant *parameters;
 	GVariant *retvals;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]