[evolution-data-server/openismus-work: 6/10] Added gdbus apis to set flags on an EBookView
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work: 6/10] Added gdbus apis to set flags on an EBookView
- Date: Thu, 16 Jun 2011 22:35:17 +0000 (UTC)
commit e1edf1fd510c7d29f5e0aba798b2524624be5016
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Jun 16 19:25:34 2011 +0900
Added gdbus apis to set flags on an EBookView
Added sync and async versions (apis follow):
e_gdbus_book_view_call_set_flags ()
e_gdbus_book_view_call_set_flags_finish ()
e_gdbus_book_view_call_set_flags_sync ()
This adds the "org.....BookView.setFlags" method allowing
the client to set operational flags on the EBookView.
addressbook/libegdbus/e-gdbus-egdbusbookview.c | 191 ++++++++++++++++++++++++
addressbook/libegdbus/e-gdbus-egdbusbookview.h | 27 ++++
addressbook/libegdbus/e-gdbus-marshallers.c | 136 +++++++++++------
addressbook/libegdbus/e-gdbus-marshallers.h | 36 +++--
addressbook/libegdbus/e-gdbus-marshallers.list | 5 +-
5 files changed, 331 insertions(+), 64 deletions(-)
---
diff --git a/addressbook/libegdbus/e-gdbus-egdbusbookview.c b/addressbook/libegdbus/e-gdbus-egdbusbookview.c
index fe4eab4..c44f8e4 100644
--- a/addressbook/libegdbus/e-gdbus-egdbusbookview.c
+++ b/addressbook/libegdbus/e-gdbus-egdbusbookview.c
@@ -71,6 +71,7 @@ enum
__COMPLETE_SIGNAL,
__START_METHOD,
__STOP_METHOD,
+ __SET_FLAGS_METHOD,
__DISPOSE_METHOD,
__LAST_SIGNAL
};
@@ -343,6 +344,7 @@ e_gdbus_book_view_default_init (EGdbusBookViewIface *iface)
_property_name_to_gname = g_hash_table_new (g_str_hash, g_str_equal);
g_hash_table_insert (_method_name_to_id, (gpointer) "start", GUINT_TO_POINTER (__START_METHOD));
g_hash_table_insert (_method_name_to_id, (gpointer) "stop", GUINT_TO_POINTER (__STOP_METHOD));
+ g_hash_table_insert (_method_name_to_id, (gpointer) "setFlags", GUINT_TO_POINTER (__SET_FLAGS_METHOD));
g_hash_table_insert (_method_name_to_id, (gpointer) "dispose", GUINT_TO_POINTER (__DISPOSE_METHOD));
g_hash_table_insert (_signal_name_to_id, (gpointer) "ContactsAdded", GUINT_TO_POINTER (__CONTACTS_ADDED_SIGNAL));
g_hash_table_insert (_signal_name_to_id, (gpointer) "ContactsChanged", GUINT_TO_POINTER (__CONTACTS_CHANGED_SIGNAL));
@@ -552,6 +554,35 @@ e_gdbus_book_view_default_init (EGdbusBookViewIface *iface)
G_TYPE_BOOLEAN,
1,
G_TYPE_DBUS_METHOD_INVOCATION);
+
+ /**
+ * EGdbusBookView::handle-set-flags:
+ * @object: The exported object emitting the signal.
+ * @invocation: A #GDBusMethodInvocation object that can be used to return a value or error.
+ * @flags: The #EBookViewFlags to set
+ *
+ * On exported objects, this signal is emitted when a remote process (identified by @invocation) invokes the <literal>set_flags</literal> D-Bus method on @object. Use e_gdbus_book_view_complete_set_flags() to return or g_dbus_method_invocation_return_error() to return an error.
+ *
+ * The signal is emitted in the thread-default main loop of the thread that e_gdbus_book_view_register_object() was called from.
+ *
+ * On proxies, this signal is never emitted.
+ *
+ * Returns: %TRUE if you want to handle the method call (will stop further handlers from being called), %FALSE otherwise.
+ */
+ signals[__SET_FLAGS_METHOD] =
+ g_signal_new ("handle-set-flags",
+ G_TYPE_FROM_INTERFACE (iface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (EGdbusBookViewIface, handle_set_flags),
+ g_signal_accumulator_true_handled,
+ NULL,
+ _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_UINT,
+ G_TYPE_BOOLEAN,
+ 2,
+ G_TYPE_DBUS_METHOD_INVOCATION,
+ G_TYPE_UINT);
+
+
/**
* EGdbusBookView::handle-dispose:
* @object: The exported object emitting the signal.
@@ -783,6 +814,109 @@ _out:
}
/**
+ * e_gdbus_book_view_call_set_flags:
+ * @proxy: A #EGdbusBookView.
+ * @flags: The #EBookViewFlags to set.
+ * @cancellable: A #GCancellable or %NULL.
+ * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation.
+ * @user_data: Data to pass to @callback.
+ *
+ * Invokes the <literal>org.gnome.evolution.dataserver.addressbook.BookView.setFlags</literal>
+ * D-Bus method on the remote object represented by @proxy.
+ *
+ * This is an asynchronous method. When the operation is finished,
+ * callback will be invoked in the thread-default main loop of the
+ * thread you are calling this method from. You can then call
+ * e_gdbus_book_view_call_set_flags_finish() to get the result of the operation.
+ *
+ * See e_gdbus_book_view_call_set_flags_sync() for the synchronous version of this method.
+ */
+void e_gdbus_book_view_call_set_flags (
+ EGdbusBookView *proxy,
+ guint in_flags,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data)
+{
+ GVariant *_params;
+ _params = g_variant_new ("(u)", in_flags);
+ g_dbus_proxy_call (G_DBUS_PROXY (proxy),
+ "setFlags",
+ _params,
+ G_DBUS_CALL_FLAGS_NONE,
+ -1,
+ cancellable,
+ callback,
+ user_data);
+}
+
+/**
+ * e_gdbus_book_view_call_set_flags_finish:
+ * @proxy: A #EGdbusBookView.
+ * @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to e_gdbus_book_view_call_set_flags().
+ * @error: Return location for error or %NULL.
+ *
+ * Finishes invoking the <literal>org.gnome.evolution.dataserver.addressbook.BookView.setFlags</literal>
+ * D-Bus method on the remote object represented by @proxy.
+ *
+ * Returns: %TRUE if the call succeeded, %FALSE if @error is set.
+ */
+gboolean e_gdbus_book_view_call_set_flags_finish (
+ EGdbusBookView *proxy,
+ GAsyncResult *res,
+ GError **error)
+{
+ gboolean _ret = FALSE;
+ GVariant *_result;
+ _result = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
+ if (_result == NULL)
+ goto _out;
+ g_variant_unref (_result);
+ _ret = TRUE;
+_out:
+ return _ret;
+}
+
+/**
+ * e_gdbus_book_view_call_set_flags_sync:
+ * @proxy: A #EGdbusBookView.
+ * @cancellable: A #GCancellable or %NULL.
+ * @error: Return location for error or %NULL.
+ *
+ * Synchronously invokes the <literal>org.gnome.evolution.dataserver.addressbook.BookView.setFlags</literal>
+ * D-Bus method on the remote object represented by @proxy.
+ *
+ * The calling thread is blocked until a reply is received. See
+ * e_gdbus_book_view_call_set_flags() for the asynchronous version of this method.
+ *
+ * Returns: %TRUE if the call succeeded, %FALSE if @error is set.
+ */
+gboolean e_gdbus_book_view_call_set_flags_sync (
+ EGdbusBookView *proxy,
+ guint in_flags,
+ GCancellable *cancellable,
+ GError **error)
+{
+ gboolean _ret = FALSE;
+ GVariant *_params;
+ GVariant *_result;
+ _params = g_variant_new ("(u)", in_flags);
+ _result = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
+ "setFlags",
+ _params,
+ G_DBUS_CALL_FLAGS_NONE,
+ -1,
+ cancellable,
+ error);
+ if (_result == NULL)
+ goto _out;
+ g_variant_unref (_result);
+ _ret = TRUE;
+_out:
+ return _ret;
+}
+
+/**
* e_gdbus_book_view_call_dispose:
* @proxy: A #EGdbusBookView.
* @cancellable: A #GCancellable or %NULL.
@@ -923,6 +1057,26 @@ void e_gdbus_book_view_complete_stop (
}
/**
+ * e_gdbus_book_view_complete_set_flags:
+ * @object: A #EGdbusBookView.
+ * @invocation: A #GDBusMethodInvocation.
+ *
+ * Completes handling the <literal>org.gnome.evolution.dataserver.addressbook.BookView.setFlags</literal>
+ * D-Bus method invocation by returning a value.
+ *
+ * If you want to return an error, use g_dbus_method_invocation_return_error()
+ * or similar instead.
+ *
+ * This method will free @invocation, you cannot use it afterwards.
+ */
+void e_gdbus_book_view_complete_set_flags (
+ EGdbusBookView *object,
+ GDBusMethodInvocation *invocation)
+{
+ g_dbus_method_invocation_return_value (invocation, NULL);
+}
+
+/**
* e_gdbus_book_view_complete_dispose:
* @object: A #EGdbusBookView.
* @invocation: A #GDBusMethodInvocation.
@@ -1160,6 +1314,27 @@ static const GDBusMethodInfo e_gdbus_book_view_method_stop =
(GDBusAnnotationInfo **) NULL,
};
+static const GDBusArgInfo e_gdbus_book_view_method_setFlags_flags =
+{
+ -1,
+ (gchar *) "flags",
+ (gchar *) "u",
+ (GDBusAnnotationInfo **) NULL,
+};
+static const GDBusArgInfo * const e_gdbus_book_view_method_setFlags_arg_pointers[] =
+{
+ &e_gdbus_book_view_method_setFlags_flags,
+ NULL
+};
+static const GDBusMethodInfo e_gdbus_book_view_method_setFlags =
+{
+ -1,
+ (gchar *) "setFlags",
+ (GDBusArgInfo **) &e_gdbus_book_view_method_setFlags_arg_pointers,
+ (GDBusArgInfo **) NULL,
+ (GDBusAnnotationInfo **) NULL,
+};
+
static const GDBusMethodInfo e_gdbus_book_view_method_dispose =
{
-1,
@@ -1173,6 +1348,7 @@ static const GDBusMethodInfo * const e_gdbus_book_view_method_info_pointers[] =
{
&e_gdbus_book_view_method_start,
&e_gdbus_book_view_method_stop,
+ &e_gdbus_book_view_method_setFlags,
&e_gdbus_book_view_method_dispose,
NULL
};
@@ -1224,6 +1400,21 @@ handle_method_call (GDBusConnection *connection,
}
break;
+ case __SET_FLAGS_METHOD:
+ {
+ EGdbusBookView *object = E_GDBUS_BOOK_VIEW (user_data);
+ guint arg_flags;
+ gboolean handled;
+
+ g_variant_get (parameters, "(u)", &arg_flags);
+ g_signal_emit (object,
+ signals[method_id],
+ 0, invocation, arg_flags, &handled);
+ if (!handled)
+ goto not_implemented;
+ }
+ break;
+
case __DISPOSE_METHOD:
{
EGdbusBookView *object = E_GDBUS_BOOK_VIEW (user_data);
diff --git a/addressbook/libegdbus/e-gdbus-egdbusbookview.h b/addressbook/libegdbus/e-gdbus-egdbusbookview.h
index 7ef6399..2babb53 100644
--- a/addressbook/libegdbus/e-gdbus-egdbusbookview.h
+++ b/addressbook/libegdbus/e-gdbus-egdbusbookview.h
@@ -35,6 +35,7 @@ typedef struct _EGdbusBookView EGdbusBookView; /* Dummy typedef */
* @complete: Handler for the #EGdbusBookView::complete signal.
* @handle_start: Handler for the #EGdbusBookView::handle-start signal.
* @handle_stop: Handler for the #EGdbusBookView::handle-stop signal.
+ * @handle_set_flags: Handler for the #EGdbusBookView::handle-set-flags signal.
* @handle_dispose: Handler for the #EGdbusBookView::handle-dispose signal.
*
* Virtual table.
@@ -189,6 +190,10 @@ struct _EGdbusBookViewIface
gboolean (*handle_stop) (
EGdbusBookView *object,
GDBusMethodInvocation *invocation);
+ gboolean (*handle_set_flags) (
+ EGdbusBookView *object,
+ GDBusMethodInvocation *invocation,
+ guint in_flags);
gboolean (*handle_dispose) (
EGdbusBookView *object,
GDBusMethodInvocation *invocation);
@@ -229,6 +234,24 @@ gboolean e_gdbus_book_view_call_stop_sync (
GCancellable *cancellable,
GError **error);
+void e_gdbus_book_view_call_set_flags (
+ EGdbusBookView *proxy,
+ guint in_flags,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean e_gdbus_book_view_call_set_flags_finish (
+ EGdbusBookView *proxy,
+ GAsyncResult *res,
+ GError **error);
+
+gboolean e_gdbus_book_view_call_set_flags_sync (
+ EGdbusBookView *proxy,
+ guint in_flags,
+ GCancellable *cancellable,
+ GError **error);
+
void e_gdbus_book_view_call_dispose (
EGdbusBookView *proxy,
GCancellable *cancellable,
@@ -254,6 +277,10 @@ void e_gdbus_book_view_complete_stop (
EGdbusBookView *object,
GDBusMethodInvocation *invocation);
+void e_gdbus_book_view_complete_set_flags (
+ EGdbusBookView *object,
+ GDBusMethodInvocation *invocation);
+
void e_gdbus_book_view_complete_dispose (
EGdbusBookView *object,
GDBusMethodInvocation *invocation);
diff --git a/addressbook/libegdbus/e-gdbus-marshallers.c b/addressbook/libegdbus/e-gdbus-marshallers.c
index ab88d33..85b6096 100644
--- a/addressbook/libegdbus/e-gdbus-marshallers.c
+++ b/addressbook/libegdbus/e-gdbus-marshallers.c
@@ -1,5 +1,4 @@
-
-#include "e-gdbus-marshallers.h"
+#include "e-gdbus-marshallers.h"
#include <glib-object.h>
@@ -50,52 +49,11 @@
#endif /* !G_ENABLE_DEBUG */
-/* BOOLEAN:OBJECT,STRING (e-gdbus-marshallers.list:1) */
-void
-_e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_STRING (GClosure *closure,
- GValue *return_value G_GNUC_UNUSED,
- guint n_param_values,
- const GValue *param_values,
- gpointer invocation_hint G_GNUC_UNUSED,
- gpointer marshal_data)
-{
- typedef gboolean (*GMarshalFunc_BOOLEAN__OBJECT_STRING) (gpointer data1,
- gpointer arg_1,
- gpointer arg_2,
- gpointer data2);
- register GMarshalFunc_BOOLEAN__OBJECT_STRING callback;
- register GCClosure *cc = (GCClosure*) closure;
- register gpointer data1, data2;
- gboolean v_return;
-
- g_return_if_fail (return_value != NULL);
- g_return_if_fail (n_param_values == 3);
-
- if (G_CCLOSURE_SWAP_DATA (closure))
- {
- data1 = closure->data;
- data2 = g_value_peek_pointer (param_values + 0);
- }
- else
- {
- data1 = g_value_peek_pointer (param_values + 0);
- data2 = closure->data;
- }
- callback = (GMarshalFunc_BOOLEAN__OBJECT_STRING) (marshal_data ? marshal_data : cc->callback);
-
- v_return = callback (data1,
- g_marshal_value_peek_object (param_values + 1),
- g_marshal_value_peek_string (param_values + 2),
- data2);
-
- g_value_set_boolean (return_value, v_return);
-}
-
-/* VOID:BOXED (e-gdbus-marshallers.list:2) */
+/* VOID:BOXED (e-gdbus-marshallers.list:1) */
-/* VOID:STRING (e-gdbus-marshallers.list:3) */
+/* VOID:STRING (e-gdbus-marshallers.list:2) */
-/* VOID:UINT,STRING (e-gdbus-marshallers.list:4) */
+/* VOID:UINT,STRING (e-gdbus-marshallers.list:3) */
void
_e_gdbus_gdbus_cclosure_marshaller_VOID__UINT_STRING (GClosure *closure,
GValue *return_value G_GNUC_UNUSED,
@@ -132,6 +90,8 @@ _e_gdbus_gdbus_cclosure_marshaller_VOID__UINT_STRING (GClosure *closure,
data2);
}
+/* VOID:BOOLEAN (e-gdbus-marshallers.list:4) */
+
/* BOOLEAN:OBJECT (e-gdbus-marshallers.list:5) */
void
_e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT (GClosure *closure,
@@ -171,7 +131,46 @@ _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT (GClosure *closure,
g_value_set_boolean (return_value, v_return);
}
-/* VOID:BOOLEAN (e-gdbus-marshallers.list:6) */
+/* BOOLEAN:OBJECT,STRING (e-gdbus-marshallers.list:6) */
+void
+_e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_STRING (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gboolean (*GMarshalFunc_BOOLEAN__OBJECT_STRING) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_BOOLEAN__OBJECT_STRING callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gboolean v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_BOOLEAN__OBJECT_STRING) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_string (param_values + 2),
+ data2);
+
+ g_value_set_boolean (return_value, v_return);
+}
/* BOOLEAN:OBJECT,BOOLEAN (e-gdbus-marshallers.list:7) */
void
@@ -300,7 +299,48 @@ _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_BOXED (GClosure *closure,
g_value_set_boolean (return_value, v_return);
}
-/* BOOLEAN:OBJECT,STRING,BOXED,UINT (e-gdbus-marshallers.list:10) */
+/* BOOLEAN:OBJECT,UINT (e-gdbus-marshallers.list:10) */
+void
+_e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gboolean (*GMarshalFunc_BOOLEAN__OBJECT_UINT) (gpointer data1,
+ gpointer arg_1,
+ guint arg_2,
+ gpointer data2);
+ register GMarshalFunc_BOOLEAN__OBJECT_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gboolean v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_BOOLEAN__OBJECT_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ data2);
+
+ g_value_set_boolean (return_value, v_return);
+}
+
+/* BOOLEAN:OBJECT,STRING,BOXED,UINT (e-gdbus-marshallers.list:11) */
void
_e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_STRING_BOXED_UINT (GClosure *closure,
GValue *return_value G_GNUC_UNUSED,
diff --git a/addressbook/libegdbus/e-gdbus-marshallers.h b/addressbook/libegdbus/e-gdbus-marshallers.h
index 6598ae6..141f9b7 100644
--- a/addressbook/libegdbus/e-gdbus-marshallers.h
+++ b/addressbook/libegdbus/e-gdbus-marshallers.h
@@ -6,21 +6,13 @@
G_BEGIN_DECLS
-/* BOOLEAN:OBJECT,STRING (e-gdbus-marshallers.list:1) */
-extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_STRING (GClosure *closure,
- GValue *return_value,
- guint n_param_values,
- const GValue *param_values,
- gpointer invocation_hint,
- gpointer marshal_data);
-
-/* VOID:BOXED (e-gdbus-marshallers.list:2) */
+/* VOID:BOXED (e-gdbus-marshallers.list:1) */
#define _e_gdbus_gdbus_cclosure_marshaller_VOID__BOXED g_cclosure_marshal_VOID__BOXED
-/* VOID:STRING (e-gdbus-marshallers.list:3) */
+/* VOID:STRING (e-gdbus-marshallers.list:2) */
#define _e_gdbus_gdbus_cclosure_marshaller_VOID__STRING g_cclosure_marshal_VOID__STRING
-/* VOID:UINT,STRING (e-gdbus-marshallers.list:4) */
+/* VOID:UINT,STRING (e-gdbus-marshallers.list:3) */
extern void _e_gdbus_gdbus_cclosure_marshaller_VOID__UINT_STRING (GClosure *closure,
GValue *return_value,
guint n_param_values,
@@ -28,6 +20,9 @@ extern void _e_gdbus_gdbus_cclosure_marshaller_VOID__UINT_STRING (GClosure *
gpointer invocation_hint,
gpointer marshal_data);
+/* VOID:BOOLEAN (e-gdbus-marshallers.list:4) */
+#define _e_gdbus_gdbus_cclosure_marshaller_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
+
/* BOOLEAN:OBJECT (e-gdbus-marshallers.list:5) */
extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT (GClosure *closure,
GValue *return_value,
@@ -36,8 +31,13 @@ extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT (GClosure *cl
gpointer invocation_hint,
gpointer marshal_data);
-/* VOID:BOOLEAN (e-gdbus-marshallers.list:6) */
-#define _e_gdbus_gdbus_cclosure_marshaller_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
+/* BOOLEAN:OBJECT,STRING (e-gdbus-marshallers.list:6) */
+extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_STRING (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
/* BOOLEAN:OBJECT,BOOLEAN (e-gdbus-marshallers.list:7) */
extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_BOOLEAN (GClosure *closure,
@@ -63,7 +63,15 @@ extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_BOXED (GClosure
gpointer invocation_hint,
gpointer marshal_data);
-/* BOOLEAN:OBJECT,STRING,BOXED,UINT (e-gdbus-marshallers.list:10) */
+/* BOOLEAN:OBJECT,UINT (e-gdbus-marshallers.list:10) */
+extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* BOOLEAN:OBJECT,STRING,BOXED,UINT (e-gdbus-marshallers.list:11) */
extern void _e_gdbus_gdbus_cclosure_marshaller_BOOLEAN__OBJECT_STRING_BOXED_UINT (GClosure *closure,
GValue *return_value,
guint n_param_values,
diff --git a/addressbook/libegdbus/e-gdbus-marshallers.list b/addressbook/libegdbus/e-gdbus-marshallers.list
index 20e3a5d..249c8bf 100644
--- a/addressbook/libegdbus/e-gdbus-marshallers.list
+++ b/addressbook/libegdbus/e-gdbus-marshallers.list
@@ -1,10 +1,11 @@
-BOOLEAN:OBJECT,STRING
VOID:BOXED
VOID:STRING
VOID:UINT,STRING
-BOOLEAN:OBJECT
VOID:BOOLEAN
+BOOLEAN:OBJECT
+BOOLEAN:OBJECT,STRING
BOOLEAN:OBJECT,BOOLEAN
BOOLEAN:OBJECT,STRING,STRING,STRING
BOOLEAN:OBJECT,BOXED
+BOOLEAN:OBJECT,UINT
BOOLEAN:OBJECT,STRING,BOXED,UINT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]