[evolution-data-server/treitter-client-gdbus] Pedantically add a reply type for object paths, distinct from generic strings.



commit c7f3d975bcf5397ecb00b5e710bf4f0fbf740165
Author: Travis Reitter <treitter gmail com>
Date:   Fri Dec 11 15:24:31 2009 -0800

    Pedantically add a reply type for object paths, distinct from generic strings.

 .../libebook/e-data-book-gdbus-bindings-common.h   |    5 +++++
 addressbook/libebook/e-data-book-gdbus-bindings.h  |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libebook/e-data-book-gdbus-bindings-common.h b/addressbook/libebook/e-data-book-gdbus-bindings-common.h
index 5c747c6..8ccb749 100644
--- a/addressbook/libebook/e-data-book-gdbus-bindings-common.h
+++ b/addressbook/libebook/e-data-book-gdbus-bindings-common.h
@@ -127,6 +127,11 @@ typedef void (*reply__VOID) (GDBusProxy *proxy,
                              GError     *error,
                              gpointer    user_data);
 
+typedef void (*reply__OBJPATH) (GDBusProxy *proxy,
+				char       *OUT_path1,
+				GError     *error,
+				gpointer    user_data);
+
 typedef void (*reply__STRING) (GDBusProxy *proxy,
                                char       *OUT_string1,
                                GError     *error,
diff --git a/addressbook/libebook/e-data-book-gdbus-bindings.h b/addressbook/libebook/e-data-book-gdbus-bindings.h
index 6d12559..d6ed019 100644
--- a/addressbook/libebook/e-data-book-gdbus-bindings.h
+++ b/addressbook/libebook/e-data-book-gdbus-bindings.h
@@ -619,7 +619,7 @@ get_book_view_cb (GDBusProxy *proxy,
                 }
         }
 
-        (*(reply__STRING) closure->cb) (proxy, OUT_view, error, closure->user_data);
+        (*(reply__OBJPATH) closure->cb) (proxy, OUT_view, error, closure->user_data);
         closure_free (closure);
 }
 



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