aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service-dbus.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-06-02 16:44:47 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-06-02 16:44:47 +0200
commit21f3cac4cb191430abf89b7cebd0093952c827b0 (patch)
tree5aee144e7dac57d0c4cd764614b9dab7ebc9fa92 /src/messages-service-dbus.c
parentb4062c831c830df78baeecf092e7c5e7198afada (diff)
downloadayatana-indicator-messages-21f3cac4cb191430abf89b7cebd0093952c827b0.tar.gz
ayatana-indicator-messages-21f3cac4cb191430abf89b7cebd0093952c827b0.tar.bz2
ayatana-indicator-messages-21f3cac4cb191430abf89b7cebd0093952c827b0.zip
Listen to actions exported by applications
Diffstat (limited to 'src/messages-service-dbus.c')
-rw-r--r--src/messages-service-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages-service-dbus.c b/src/messages-service-dbus.c
index fec15e9..3a39172 100644
--- a/src/messages-service-dbus.c
+++ b/src/messages-service-dbus.c
@@ -109,7 +109,7 @@ message_service_dbus_class_init (MessageServiceDbusClass *klass)
0,
NULL, NULL,
g_cclosure_marshal_generic,
- G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
+ G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
signals[UNREGISTER_APPLICATION] = g_signal_new(MESSAGE_SERVICE_DBUS_SIGNAL_UNREGISTER_APPLICATION,
G_TYPE_FROM_CLASS(klass),
@@ -439,7 +439,7 @@ bus_method_call (GDBusConnection * connection, const gchar * sender, const gchar
} else if (g_strcmp0("RegisterApplication", method) == 0) {
const gchar *desktop_id, *object_path;
g_variant_get(params, "(&s&o)", &desktop_id, &object_path);
- g_signal_emit(ms, signals[REGISTER_APPLICATION], 0, desktop_id, object_path);
+ g_signal_emit(ms, signals[REGISTER_APPLICATION], 0, sender, desktop_id, object_path);
g_dbus_method_invocation_return_value(invocation, NULL);
} else if (g_strcmp0("UnregisterApplication", method) == 0) {
const gchar *desktop_id;