<p>In <a href="https://github.com/geany/geany-plugins/pull/284#discussion_r39853887">addons/src/ao_bookmarklist.c</a>:</p>
<pre style='color:#555'>>      {
> +          GtkTreeModel *model = gtk_tree_view_get_model(GTK_TREE_VIEW(priv->tree));
> +          /* reference the model and then detach it from the treeview */
> +          g_object_ref(model);
> +          gtk_tree_view_set_model(GTK_TREE_VIEW(priv->tree), NULL);
</pre>
<p>This might create flicker on the tree view AFAIK, so it might make sense to check if it's really useful in practice</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/284/files#r39853887">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJyqZWaW6KSoN2ohcgxtPfizAmvFUks5ozAiVgaJpZM4F-upi.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/284/files#r39853887"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>