From: Mike Gorse Date: Fri, 25 Apr 2008 21:46:30 +0000 (-0400) Subject: Change prototype of spi_dbus_get_path to return a gchar X-Git-Tag: AT_SPI2_CORE_0_1_3~286 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e7c81170915ba42e26aca699ad08edb9a49030e;p=platform%2Fupstream%2Fat-spi2-core.git Change prototype of spi_dbus_get_path to return a gchar Add AccessibleTree --- diff --git a/libspi/dbus.c b/libspi/dbus.c index 3559e26..9d1800c 100644 --- a/libspi/dbus.c +++ b/libspi/dbus.c @@ -83,7 +83,7 @@ spi_dbus_get_object (const char *path) return NULL; } -char * +gchar * spi_dbus_get_path (AtkObject * obj) { guint index = (guint) g_object_get_data (G_OBJECT (obj), "dbus-id"); @@ -179,6 +179,7 @@ spi_dbus_initialize (DRouteData * data) spi_initialize_image (data); spi_initialize_selection (data); spi_initialize_table (data); + spi_initialize_tree (data); spi_initialize_text (data); spi_initialize_value (data); } diff --git a/libspi/dbus.h b/libspi/dbus.h index 135fcb2..7393c9b 100644 --- a/libspi/dbus.h +++ b/libspi/dbus.h @@ -31,7 +31,7 @@ AtkObject *spi_dbus_get_object(const char *path); -char *spi_dbus_get_path(AtkObject *obj); +gchar *spi_dbus_get_path(AtkObject *obj); DBusMessage *spi_dbus_general_error(DBusMessage *message); DBusMessage *spi_dbus_return_rect(DBusMessage *message, gint ix, gint iy, gint iwidth, gint iheight); DBusMessage *spi_dbus_return_object(DBusMessage *message, AtkObject *obj, int unref);