Hi! I have written a program which spans a thread which might update gtk widgets from the thread and thus needs to use things like
g_thread_init(NULL) gdk_threads_init() gdk_threads_enter() ... gdk_flush() gdk_threads_leave() This program works fine from the commandline using the trick found in bt-blugin to simulate a statusbar environment. But as soon as I really load it to the statusbar using dbus-send from the tutorial my device reboots. I tracked down the problem to the commands above. When I remove them (and also disable the program-code doing gtk things) it works. As soon as I add the methods above again, the device reboots when sending the dbus message to load the plugin. Now my question, how to deal with multithreaded gtk application loaded through the statusbar loading mechanism? When I remove these methods the program seems still to work, so, is the gdk_threads stuff is activated by default in the statusbar? Thanks! Ciao, Mario _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers