From 4fdc58189e23e06a541eff0f98db3c297556064d Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 8 Oct 1999 21:24:50 +0000 Subject: [PATCH] Kill ourselfs after all our embeddables die, few bad bugs fixed. --- pdf/xpdf/ChangeLog | 10 ++++++++++ pdf/xpdf/gpdf.cc | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog index 6c05be76..99d046e6 100644 --- a/pdf/xpdf/ChangeLog +++ b/pdf/xpdf/ChangeLog @@ -1,3 +1,13 @@ +1999-10-08 Michael Meeks + + * gpdf.cc (container_new): add to list before possibly removing. + + * bonobo-application-x-pdf.cc (destroy_embed): Quit on last component + close. (load_pdf_from_stream): inline redraw-all with new API. + (redraw_view): implement (redraw_all): remove. (realize_mainbox): remould. + (destroy_view): Fix serious memory corruption freeing pixmap twice. + (view_activate): kill debug. + 1999-10-06 Peter Teichman * GOutputDev.cc: add return type for GOutputServerFont::isOk() diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index 02c9dc30..24ed7825 100644 --- a/pdf/xpdf/gpdf.cc +++ b/pdf/xpdf/gpdf.cc @@ -661,14 +661,14 @@ container_new (const char *fname) gtk_widget_show_all (container->app); + containers = g_list_append (containers, container); + if (fname) if (!open_pdf (container, fname)) { container_destroy (container); return NULL; } - containers = g_list_append (containers, container); - gtk_widget_show_all (container->app); return container; -- 2.43.5