[at-spi2-core] Make the correct method call when deregistering an event listener
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Make the correct method call when deregistering an event listener
- Date: Mon, 19 Sep 2011 21:49:05 +0000 (UTC)
commit 4c0487344c96148acfa4051713a41b757d0d4a2e
Author: Mike Gorse <mgorse novell com>
Date: Mon Sep 19 15:51:14 2011 -0500
Make the correct method call when deregistering an event listener
When deregistering an event listener, we should call
DeregisterEventListener, not RegisterEventListener.
atspi/atspi-event-listener.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index 83c9ae0..e02a12d 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -688,7 +688,7 @@ atspi_event_listener_deregister_from_callback (AtspiEventListenerCB callback,
message = dbus_message_new_method_call (atspi_bus_registry,
atspi_path_registry,
atspi_interface_registry,
- "RegisterEvent");
+ "DeregisterEvent");
if (!message)
return FALSE;
dbus_message_append_args (message, DBUS_TYPE_STRING, &event_type, DBUS_TYPE_INVALID);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]