Commit 967b27be authored by Sébastien Lafargue's avatar Sébastien Lafargue

file chooser: use g_object_unref to free a native dialog

Not freeing the dialog had the side effect of not
removing it's ref on the window and re-using it next time
with a bad location.
parent d337b79b
......@@ -214,7 +214,7 @@ chooser_hide (GeditFileChooserDialog *dialog)
static void
chooser_destroy (GeditFileChooserDialog *dialog)
{
//gtk_widget_destroy (GTK_WIDGET (dialog));
g_object_unref (dialog);
}
static void
......
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