diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 1999-10-08 21:24:50 (GMT) |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 1999-10-08 21:24:50 (GMT) |
commit | 4fdc58189e23e06a541eff0f98db3c297556064d (patch) | |
tree | c693e3d91816dfd58b27c5e267e20e9a0c4c3ae9 /pdf | |
parent | 71a5683c5f8a21bc4070a1e0a117c4dbfa0b916a (diff) |
Kill ourselfs after all our embeddables die,
few bad bugs fixed.
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/xpdf/ChangeLog | 10 | ||||
-rw-r--r-- | pdf/xpdf/gpdf.cc | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog index 6c05be7..99d046e 100644 --- a/pdf/xpdf/ChangeLog +++ b/pdf/xpdf/ChangeLog @@ -1,3 +1,13 @@ +1999-10-08 Michael Meeks <mmeeks@gnu.org> + + * 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 <pat4@acpub.duke.edu> * GOutputDev.cc: add return type for GOutputServerFont::isOk() diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index 02c9dc3..24ed782 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; |