Commit 5d84ed46 authored by Carl-Anton Ingmarsson's avatar Carl-Anton Ingmarsson

document-manager: don't free AnjutaDocmanPriv ourselves

This should have been removed in 9afaac5a
parent 27194a1d
......@@ -997,13 +997,10 @@ anjuta_docman_finalize (GObject *obj)
DEBUG_PRINT ("%s", "Finalising AnjutaDocman object");
docman = ANJUTA_DOCMAN (obj);
if (docman->priv)
{
if (docman->priv->fileselection)
gtk_widget_destroy (docman->priv->fileselection);
g_free (docman->priv);
docman->priv = NULL;
}
if (docman->priv->fileselection)
gtk_widget_destroy (docman->priv->fileselection);
G_OBJECT_CLASS (parent_class)->finalize (obj);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment