fc2023723e
Use g_idle_add() to make the webkit_web_view_run_javascript() call run on the GTK+ thread. Correspondingly, need to use a separate short-lived thread to do the fakeSocketWrite() calls from handle_lool_message(), so that the GTK+ main loop is ready to run the added lambda. Or something like that. Now it gets a bit further, doesn't crash, but just sudddenly exits before showing the document even. |
||
---|---|---|
.. | ||
gtk.hpp | ||
Makefile.am | ||
mobile.cpp |