Blob Blame History Raw
From 00b020fe64d65e563baeb66a38411645a5955971 Mon Sep 17 00:00:00 2001
From: Mike Gorse <mgorse@linux-megc.site>
Date: Wed, 23 Oct 2013 15:43:58 -0500
Subject: [PATCH] Fix atk_component_contains wrapper

The method call should be called Contains, not contains, per the D-Bus and
AT-SPI specs.

https://bugzilla.gnome.org/show_bug.cgi?id=710730
---
 atk-adaptor/adaptors/component-adaptor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/atk-adaptor/adaptors/component-adaptor.c b/atk-adaptor/adaptors/component-adaptor.c
index 8187cdf..76b0f7c 100644
--- a/atk-adaptor/adaptors/component-adaptor.c
+++ b/atk-adaptor/adaptors/component-adaptor.c
@@ -31,7 +31,7 @@
 #include "introspection.h"
 
 static DBusMessage *
-impl_contains (DBusConnection * bus, DBusMessage * message, void *user_data)
+impl_Contains (DBusConnection * bus, DBusMessage * message, void *user_data)
 {
   AtkComponent *component = (AtkComponent *) user_data;
   dbus_int32_t x, y;
@@ -390,7 +390,7 @@ impl_SetSize (DBusConnection * bus, DBusMessage * message, void *user_data)
 }
 
 static DRouteMethod methods[] = {
-  {impl_contains, "contains"},
+  {impl_Contains, "Contains"},
   {impl_GetAccessibleAtPoint, "GetAccessibleAtPoint"},
   {impl_GetExtents, "GetExtents"},
   {impl_GetPosition, "GetPosition"},
-- 
1.8.3.1