diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-02 23:19:53 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-02 23:19:53 +0200 |
commit | 910a1eb17c10443d50a6c3d2ac86bcfc7d970612 (patch) | |
tree | 7d1a19d9f473239aa30dbf225352968177fa54f6 /libmessaging-menu/indicator-messages-service.c | |
parent | 213c3d37aee885e6767d800f66b0d55b39801c3c (diff) | |
parent | 78f8f75ee73478ecb704aecc467c861fa4558b52 (diff) | |
download | ayatana-indicator-messages-910a1eb17c10443d50a6c3d2ac86bcfc7d970612.tar.gz ayatana-indicator-messages-910a1eb17c10443d50a6c3d2ac86bcfc7d970612.tar.bz2 ayatana-indicator-messages-910a1eb17c10443d50a6c3d2ac86bcfc7d970612.zip |
* New upstream release:
- don't segfault if .desktop file is not installed (lp: #1058386)
- Use fallback icon names (without status emblems).
(lp: #1056595)
Diffstat (limited to 'libmessaging-menu/indicator-messages-service.c')
-rw-r--r-- | libmessaging-menu/indicator-messages-service.c | 29 |
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, |