diff options
Diffstat (limited to 'extra/dbus-glib/registrations-test-only-listen-for-signals-not-all-messages.patch')
-rw-r--r-- | extra/dbus-glib/registrations-test-only-listen-for-signals-not-all-messages.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/extra/dbus-glib/registrations-test-only-listen-for-signals-not-all-messages.patch b/extra/dbus-glib/registrations-test-only-listen-for-signals-not-all-messages.patch deleted file mode 100644 index a12e42253..000000000 --- a/extra/dbus-glib/registrations-test-only-listen-for-signals-not-all-messages.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f534276eb20d8035566a206d1e38fd651a1eeab9 Mon Sep 17 00:00:00 2001 -From: Simon McVittie <simon.mcvittie@collabora.co.uk> -Date: Tue, 31 May 2011 16:03:59 +0000 -Subject: registrations test: only listen for signals, not all messages - -Otherwise, we'd reply with an error to messages not intended for us. - -Reviewed-by: Colin Walters <walters@verbum.org> ---- -diff --git a/test/core/registrations.c b/test/core/registrations.c -index 8da8d14..a316313 100644 ---- a/test/core/registrations.c -+++ b/test/core/registrations.c -@@ -232,7 +232,7 @@ test_twice (Fixture *f, - f->object); - - dbus_bus_add_match (dbus_g_connection_get_connection (f->bus), -- "", NULL); -+ "type='signal'", NULL); - mem = dbus_connection_add_filter (dbus_g_connection_get_connection (f->bus), - frobnicate_cb, f, NULL); - g_assert (mem); -@@ -269,7 +269,7 @@ test_clean_slate (Fixture *f, - dbus_bool_t mem; - - dbus_bus_add_match (dbus_g_connection_get_connection (f->bus), -- "", NULL); -+ "type='signal'", NULL); - mem = dbus_connection_add_filter (dbus_g_connection_get_connection (f->bus), - frobnicate_cb, f, NULL); - g_assert (mem); --- -cgit v0.8.3-6-g21f6 |