aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-06-20 22:05:02 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-06-20 22:05:02 +0000
commitea83bd8fe32b65ba84044533438f443c198a3ded (patch)
treee64ed1bca06818ddfad5ae6ff580b89a456d867f /accessibility
parent86e17e6806194179ce0dd43e19d1c11747dd8062 (diff)
downloadports-ea83bd8fe32b65ba84044533438f443c198a3ded.tar.gz
ports-ea83bd8fe32b65ba84044533438f443c198a3ded.zip
Notes
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/at-spi2-core/files/patch-registryd_registry.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/accessibility/at-spi2-core/files/patch-registryd_registry.c b/accessibility/at-spi2-core/files/patch-registryd_registry.c
new file mode 100644
index 000000000000..678eea097faf
--- /dev/null
+++ b/accessibility/at-spi2-core/files/patch-registryd_registry.c
@@ -0,0 +1,42 @@
+--- registryd/registry.c.orig 2011-06-20 23:41:30.000000000 +0200
++++ registryd/registry.c 2011-06-20 23:57:26.000000000 +0200
+@@ -348,7 +348,7 @@
+ const char *member = dbus_message_get_member (message);
+
+ if (type != DBUS_MESSAGE_TYPE_SIGNAL)
+- return;
++ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+
+ if (!g_strcmp0(iface, DBUS_INTERFACE_DBUS) &&
+ !g_strcmp0(member, "NameOwnerChanged"))
+@@ -806,18 +806,18 @@
+
+ if (!dbus_message_get_args (message, NULL, DBUS_TYPE_STRING, &orig_name,
+ DBUS_TYPE_INVALID))
+- return;
++ return NULL;
+
+ name = ensure_proper_format (orig_name);
+
+ evdata = (event_data *) g_malloc (sizeof (*evdata));
+ if (!evdata)
+- return;
++ return NULL;
+ data = g_strsplit (name, ":", 3);
+ if (!data)
+ {
+ g_free (evdata);
+- return;
++ return NULL;
+ }
+ if (!data [0])
+ data [1] = NULL;
+@@ -856,7 +856,7 @@
+
+ if (!dbus_message_get_args (message, NULL, DBUS_TYPE_STRING, &orig_name,
+ DBUS_TYPE_INVALID))
+- return;
++ return NULL;
+ name = ensure_proper_format (orig_name);
+
+ remove_events (registry, sender, name);