<p></p>
<p>Thanks for the detailed report.<br>
I cannot reproduce it with: <code>geany 1.37 (git >= ea649d80) (built on May 22 2020 with GTK 3.24.20, GLib 2.64.2)</code>.</p>
<p>Are there maybe additional steps required to trigger this, like opening something, using some menu item or anything like this?</p>
<p>Could you test if the following path would fix the error message?</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/addons/src/ao_doclist.c b/addons/src/ao_doclist.c</span>
index a96a2f6e..f3bc1b81 100644
<span class="pl-md">--- a/addons/src/ao_doclist.c</span>
<span class="pl-mi1">+++ b/addons/src/ao_doclist.c</span>
<span class="pl-mdr">@@ -112,10 +112,14 @@</span> static void ao_doc_list_finalize(GObject *object)
 {
        AoDocListPrivate *priv = AO_DOC_LIST_GET_PRIVATE(object);
 
<span class="pl-md"><span class="pl-md">-</span>  if (priv->toolbar_doclist_button != NULL)</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>        if (priv->toolbar_doclist_button != NULL) {</span>
                gtk_widget_destroy(GTK_WIDGET(priv->toolbar_doclist_button));
<span class="pl-md"><span class="pl-md">-</span>  if (priv->overflow_menu_item != NULL)</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>                priv->toolbar_doclist_button = NULL;</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>        }</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>        if (priv->overflow_menu_item != NULL) {</span>
                gtk_widget_destroy(priv->overflow_menu_item);
<span class="pl-mi1"><span class="pl-mi1">+</span>                priv->overflow_menu_item = NULL;</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>        }</span>
 
        G_OBJECT_CLASS(ao_doc_list_parent_class)->finalize(object);
 }</pre></div>
<p>It's just a wild guess that maybe the finalize() function is called twice.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/983#issuecomment-632727362">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6LVOC7UVKRHJW2PT3RS2FKHANCNFSM4NHLNMJA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYBIFYPETJ75F3F5LTRS2FKHA5CNFSM4NHLNMJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEW3KOQQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/983#issuecomment-632727362",
"url": "https://github.com/geany/geany-plugins/issues/983#issuecomment-632727362",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>