From: billh Date: Thu, 6 Dec 2001 19:10:21 +0000 (+0000) Subject: Bugfix for ZLayer API, and added missing declarations for Value interface X-Git-Tag: AT_SPI2_CORE_0_1_3~1044 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf8ff202f18c6a518bab06b7e6e00d132d893626;p=platform%2Fupstream%2Fat-spi2-core.git Bugfix for ZLayer API, and added missing declarations for Value interface in spi.h git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@141 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- diff --git a/cspi/spi.h b/cspi/spi.h index 3bebd99f..8fb38fb6 100644 --- a/cspi/spi.h +++ b/cspi/spi.h @@ -651,6 +651,9 @@ Accessible_isTable (Accessible *obj); SPIBoolean Accessible_isText (Accessible *obj); +SPIBoolean +Accessible_isValue (Accessible *obj); + AccessibleAction * Accessible_getAction (Accessible *obj); @@ -720,6 +723,9 @@ Accessible_getTable (Accessible *obj); AccessibleText * Accessible_getText (Accessible *obj); +AccessibleValue * +Accessible_getValue (Accessible *obj); + /** * Accessible_queryInterface: * @obj: a pointer to the #Accessible instance to query. diff --git a/cspi/spi_component.c b/cspi/spi_component.c index 73f1556a..97135c44 100644 --- a/cspi/spi_component.c +++ b/cspi/spi_component.c @@ -186,7 +186,7 @@ AccessibleComponent_getLayer (AccessibleComponent *obj) zlayer = Accessibility_Component_getLayer (CSPI_OBJREF (obj), cspi_ev ()); - switch (retval) + switch (zlayer) { case Accessibility_LAYER_BACKGROUND: retval = SPI_LAYER_BACKGROUND;