Hi,

> gtk_banner_show_animation(app, "Searching");
> slow_searching_function();
> gtk_banner_close(app);

Are you calling the gtk mainloop (or otherwise letting the widget
process events) occasionally from the slow_searching_function()
so that:
- banner can process the expose events and draw itself
- animation can refresh itself
?

Note that it's a very bad idea to thread the UI code, because that will
make debugging any bugs you have MUCH harder.  If you want to use threads,
you should thread only well-isolated functionality (e.g. reading data
from a socket to a buffer) which interactions with the rest of the your
and libraries code you know very well (at least concerning the thread
safety).


        - Eero

_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to