X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi_hypertext.c;h=2c8128ca6ff9377e9ccd836a17c64c0bfdaabeb2;hb=7a94d82f749ebce115752713412d7126d4217714;hp=c9a65ff7cbd4727f93e75ccb6bf30b24971256ec;hpb=6cf5aca394787ce29eb620a3c2e665a1c74b3a4c;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi_hypertext.c b/cspi/spi_hypertext.c index c9a65ff..2c8128c 100644 --- a/cspi/spi_hypertext.c +++ b/cspi/spi_hypertext.c @@ -1,3 +1,5 @@ +#include + /** * AccessibleHypertext_ref: * @obj: a pointer to the #AccessibleHypertext object on which to operate. @@ -12,7 +14,7 @@ int AccessibleHypertext_ref (AccessibleHypertext *obj) { - Accessibility_Hypertext_ref (*obj, &ev); + cspi_object_ref (obj); return 0; } @@ -31,7 +33,7 @@ AccessibleHypertext_ref (AccessibleHypertext *obj) int AccessibleHypertext_unref (AccessibleHypertext *obj) { - Accessibility_Hypertext_unref (*obj, &ev); + cspi_object_unref (obj); return 0; } @@ -55,7 +57,7 @@ long AccessibleHypertext_getNLinks (AccessibleHypertext *obj) { return (long) - Accessibility_Hypertext_getNLinks (*obj, &ev); + Accessibility_Hypertext_getNLinks (CSPI_OBJREF (obj), cspi_ev ()); } @@ -74,8 +76,8 @@ AccessibleHypertext_getLink (AccessibleHypertext *obj, long int linkIndex) { return (AccessibleHyperlink *) - Accessibility_Hypertext_getLink (*obj, - (CORBA_long) linkIndex, &ev); + Accessibility_Hypertext_getLink (CSPI_OBJREF (obj), + (CORBA_long) linkIndex, cspi_ev ()); } @@ -97,8 +99,8 @@ AccessibleHypertext_getLinkIndex (AccessibleHypertext *obj, long int characterOffset) { return (long) - Accessibility_Hypertext_getLinkIndex (*obj, - (CORBA_long) characterOffset, &ev); + Accessibility_Hypertext_getLinkIndex (CSPI_OBJREF (obj), + (CORBA_long) characterOffset, cspi_ev ()); }