<div dir="ltr"><div><div>Hi All,<br> <br></div> I am new to At-spi. I am trying to implement At-spi-2.0 in C language(on Debian-Wheezy), but I found various issues,<b><i> please see the code posted in this link: <br> <a href="http://pastebin.com/hAyA6hdt" target="_blank">http://pastebin.com/hAyA6hdt</a> </i></b><br><br></div><div> 1) I successfully initialize the<b> <i>atspi_init()</i></b> method and it returns '0', but <br></div><div> the callback method<i> is not get called by <b>atspi_event_listener_new()</b></i> method.<br><br></div><div> 2) Then I register the listener using<i> <b>atspi_event_listener_register</b></i><b>(</b><b>)</b> method,<br></div><div> and it returns 'True', but when I execute the code and generate the registered<br> events then nothing happens on screen.<br> <br> 3) When registered event are fired then the <i><span><code>callback method </code></span></i><span><code><font face="arial,helvetica,sans-serif">is not get called.<br><br></font></code></span></div><div><span><code><font face="arial,helvetica,sans-serif"> I compile the code using following command:<i><b><br></b></i></font></code></span><i><b><span> " </span></b></i><i><b><span><span class="">gcc -Wall -I/usr/include/at-spi-2.0/
-I/usr/include/glib-2.0/ -I/usr/include/dbus-1.0 $(pkg-config --cflags
glib-2.0 gobject-2.0 atspi-2) test.c -latspi</span> ".</span></b></i><br><br></div><div>Please give your valuable suggestions.<br><br><br><br></div><div>With Regards,<br></div>Dhairyashil</div>