From 6add4695e06bf71c1e574dec16067dd58d6e5036 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Wed, 25 Jun 2008 16:26:03 -0400 Subject: [PATCH] Use SPI_DBUS_NAME_REGISTRY rather than fixed string --- cspi/spi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cspi/spi_main.c b/cspi/spi_main.c index 64d9b15..33ff5a7 100644 --- a/cspi/spi_main.c +++ b/cspi/spi_main.c @@ -185,7 +185,7 @@ cspi_object_ref (Accessible *accessible) g_hash_table_insert (live_refs, accessible, accessible); } -#define APP_IS_REGISTRY(app) (!strcmp (app->bus_name, "org.freedesktop.atspi.registry")) +#define APP_IS_REGISTRY(app) (!strcmp (app->bus_name, SPI_DBUS_NAME_REGISTRY)) static void cspi_object_unref_internal (Accessible *accessible, gboolean defunct) -- 2.7.4