<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 29 November 2016 at 16:48, Michael Catanzaro <span dir="ltr">&lt;<a href="mailto:mcatanzaro@igalia.com" target="_blank">mcatanzaro@igalia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2016-11-29 at 15:52 +0000, Thomas Hunger wrote:<br>
&gt; Or maybe I&#39;m barking up the wrong tree?<br>
<br>
</span>Yeah. As a rule, GNOME APIs are not threadsafe (except for refcounting)<br>
unless documented otherwise. You should post your DOM operations to be<br>
executed on the main thread. For example, in C you would do that using<br>
g_idle_add() which schedules the work on the global default main<br>
context.<br></blockquote><div><br></div><div>Injecting changes via the main loop via idleAdd does indeed work, many thanks!</div><div><br></div></div></div></div>