From: Michael Meeks Date: Fri, 8 Oct 1999 21:24:50 +0000 (+0000) Subject: Kill ourselfs after all our embeddables die, X-Git-Tag: nautilus_ms_may_31~15 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=4fdc58189e23e06a541eff0f98db3c297556064d;p=evince.git Kill ourselfs after all our embeddables die, few bad bugs fixed. --- 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;