aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/indicator-messages-service.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-10-02 23:18:17 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-10-02 23:18:17 +0200
commit78f8f75ee73478ecb704aecc467c861fa4558b52 (patch)
treea75c86a1f9262d9dc0954ffdab75524163584874 /libmessaging-menu/indicator-messages-service.c
parentc8794795a7054eff4e21bbca52321195f2d8720c (diff)
parent36692583866dac99672571d6d83ed2c65b9e795d (diff)
downloadayatana-indicator-messages-78f8f75ee73478ecb704aecc467c861fa4558b52.tar.gz
ayatana-indicator-messages-78f8f75ee73478ecb704aecc467c861fa4558b52.tar.bz2
ayatana-indicator-messages-78f8f75ee73478ecb704aecc467c861fa4558b52.zip
Import upstream version 12.10.4
Diffstat (limited to 'libmessaging-menu/indicator-messages-service.c')
-rw-r--r--libmessaging-menu/indicator-messages-service.c29
1 files changed, 24 insertions, 5 deletions
diff --git a/libmessaging-menu/indicator-messages-service.c b/libmessaging-menu/indicator-messages-service.c
index a42a534..7f2ab87 100644
--- a/libmessaging-menu/indicator-messages-service.c
+++ b/libmessaging-menu/indicator-messages-service.c
@@ -1,5 +1,5 @@
/*
- * Generated by gdbus-codegen 2.33.10. DO NOT EDIT.
+ * Generated by gdbus-codegen 2.33.12. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
@@ -235,6 +235,17 @@ static const _ExtendedGDBusMethodInfo _indicator_messages_service_method_info_un
FALSE
};
+static const _ExtendedGDBusArgInfo _indicator_messages_service_method_info_set_status_IN_ARG_desktop_id =
+{
+ {
+ -1,
+ (gchar *) "desktop_id",
+ (gchar *) "s",
+ NULL
+ },
+ FALSE
+};
+
static const _ExtendedGDBusArgInfo _indicator_messages_service_method_info_set_status_IN_ARG_status =
{
{
@@ -248,6 +259,7 @@ static const _ExtendedGDBusArgInfo _indicator_messages_service_method_info_set_s
static const _ExtendedGDBusArgInfo * const _indicator_messages_service_method_info_set_status_IN_ARG_pointers[] =
{
+ &_indicator_messages_service_method_info_set_status_IN_ARG_desktop_id,
&_indicator_messages_service_method_info_set_status_IN_ARG_status,
NULL
};
@@ -424,6 +436,7 @@ indicator_messages_service_default_init (IndicatorMessagesServiceIface *iface)
* IndicatorMessagesService::handle-set-status:
* @object: A #IndicatorMessagesService.
* @invocation: A #GDBusMethodInvocation.
+ * @arg_desktop_id: Argument passed by remote caller.
* @arg_status: Argument passed by remote caller.
*
* Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-indicator-messages-service.SetStatus">SetStatus()</link> D-Bus method.
@@ -440,8 +453,8 @@ indicator_messages_service_default_init (IndicatorMessagesServiceIface *iface)
NULL,
g_cclosure_marshal_generic,
G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
+ 3,
+ G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING);
/* GObject signals for received D-Bus signals: */
/**
@@ -688,6 +701,7 @@ _out:
/**
* indicator_messages_service_call_set_status:
* @proxy: A #IndicatorMessagesServiceProxy.
+ * @arg_desktop_id: Argument to pass with the method invocation.
* @arg_status: Argument to pass with the method invocation.
* @cancellable: (allow-none): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
@@ -702,6 +716,7 @@ _out:
void
indicator_messages_service_call_set_status (
IndicatorMessagesService *proxy,
+ const gchar *arg_desktop_id,
const gchar *arg_status,
GCancellable *cancellable,
GAsyncReadyCallback callback,
@@ -709,7 +724,8 @@ indicator_messages_service_call_set_status (
{
g_dbus_proxy_call (G_DBUS_PROXY (proxy),
"SetStatus",
- g_variant_new ("(s)",
+ g_variant_new ("(ss)",
+ arg_desktop_id,
arg_status),
G_DBUS_CALL_FLAGS_NONE,
-1,
@@ -748,6 +764,7 @@ _out:
/**
* indicator_messages_service_call_set_status_sync:
* @proxy: A #IndicatorMessagesServiceProxy.
+ * @arg_desktop_id: Argument to pass with the method invocation.
* @arg_status: Argument to pass with the method invocation.
* @cancellable: (allow-none): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
@@ -761,6 +778,7 @@ _out:
gboolean
indicator_messages_service_call_set_status_sync (
IndicatorMessagesService *proxy,
+ const gchar *arg_desktop_id,
const gchar *arg_status,
GCancellable *cancellable,
GError **error)
@@ -768,7 +786,8 @@ indicator_messages_service_call_set_status_sync (
GVariant *_ret;
_ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
"SetStatus",
- g_variant_new ("(s)",
+ g_variant_new ("(ss)",
+ arg_desktop_id,
arg_status),
G_DBUS_CALL_FLAGS_NONE,
-1,