Commit 299216aa authored by Morten Welinder's avatar Morten Welinder
Browse files

Fix the workbook destruction (now that it is a GTK_OBJECT).

parent 8e52b49c
1999-08-10 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_do_destroy): Don't free the workbook
ourselves.
1999-08-10 Jukka-Pekka Iivonen <iivonen@iki.fi>
* samples/statfuns.xls: Updated the tests of functions returning
......
1999-08-10 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_do_destroy): Don't free the workbook
ourselves.
1999-08-10 Jukka-Pekka Iivonen <iivonen@iki.fi>
* samples/statfuns.xls: Updated the tests of functions returning
......
......@@ -264,10 +264,6 @@ dump_dep (gpointer key, gpointer value, gpointer closure)
static void
workbook_do_destroy (Workbook *wb)
{
if (!GTK_OBJECT_DESTROYED (wb->toplevel))
gtk_object_destroy (GTK_OBJECT (wb->toplevel));
/*
* Do all deletions that leave the workbook in a working
* order.
......@@ -360,8 +356,6 @@ workbook_do_destroy (Workbook *wb)
expr_name_clean (wb);
g_free (wb);
if (workbook_count == 0)
gtk_main_quit ();
}
......
Supports Markdown
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