<p>In <a href="https://github.com/geany/geany-plugins/pull/467#discussion_r71738934">geanydoc/src/geanydoc.c</a>:</p>
<pre style='color:#555'>> @@ -284,15 +284,14 @@ on_comboboxType_changed(GtkComboBox * combobox, G_GNUC_UNUSED gpointer user_data
>  
>  #define GLADE_HOOKUP_OBJECT(component,widget,name) \
>    g_object_set_data_full (G_OBJECT (component), name, \
> -    gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
> +    g_object_ref (widget), (GDestroyNotify) gtk_widget_destroy)
</pre>
<p><code>gtk_widget_destroy</code> isn't the same as <code>gtk_widget_unref</code>, <code>g_object_unref</code> would be a lot closer.  It may or may not change anything, depending on how it's used, but it probably would be "safer" to use <code>g_object_unref</code></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/pull/467/files/280902ad73fdee54c9df8dbbf79956652b73304f#r71738934">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ5SP59FGAnFqMgbYfRYga3aJ9gtrks5qX53RgaJpZM4JR7UX">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ3w5-XHax_roUTwomx7PtsNqc3CNks5qX53RgaJpZM4JR7UX.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/467/files/280902ad73fdee54c9df8dbbf79956652b73304f#r71738934"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>