From 67a1e1efef665c652ff6d0bc25925bcd80757574 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Thu, 19 Sep 2002 13:24:28 +0000 Subject: [PATCH] bed_t: Replace Data Value with Object [Fowler] i.e. turn it into the 2002-08-31 Martin Kretzschmar * xpdf/gpdf-embeddable.cc: * xpdf/gpdf-embeddable.h: bed_t: Replace Data Value with Object [Fowler] i.e. turn it into the GPdf::Embeddable class. * xpdf/bonobo-application-x-pdf.cc: temporarily make some functions non-static (view_is_good): move up in file, use it in more places. (setup_pixmap): remove window parameter, get it from view_data (destroy_embed): move to GPdfEmbeddable::destroy (embeddable_factory): drastically simplify, work is done in GPdfEmbeddable::new and friends remove count of running_objects. * xpdf/gpdf-util.h: new file (E_MAKE_TYPE): copied from gal --- pdf/xpdf/ChangeLog | 19 +++++++++++++++++++ pdf/xpdf/Makefile.am | 1 + 2 files changed, 20 insertions(+) diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog index 11e81a48..c47de534 100644 --- a/pdf/xpdf/ChangeLog +++ b/pdf/xpdf/ChangeLog @@ -1,3 +1,22 @@ +2002-08-31 Martin Kretzschmar + + * gpdf-embeddable.cc: + + * gpdf-embeddable.h: bed_t: Replace Data Value with Object + [Fowler] i.e. turn it into the GPdf::Embeddable class. + + * bonobo-application-x-pdf.cc: temporarily make some functions + non-static + (view_is_good): move up in file, use it in more places. + (setup_pixmap): remove window parameter, get it from view_data + (destroy_embed): move to GPdfEmbeddable::destroy + (embeddable_factory): drastically simplify, work is done in + GPdfEmbeddable::new and friends + remove count of running_objects. + + * gpdf-util.h: new file + (E_MAKE_TYPE): copied from gal + 2002-08-29 Martin Kretzschmar * bonobo-application-x-pdf.cc: move struct bed_t to diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index a044f211..c853aca6 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -121,6 +121,7 @@ bonobo_application_x_pdf_SOURCES = \ bonobo-application-x-pdf.h \ gpdf-embeddable.h \ gpdf-embeddable.cc \ + gpdf-util.h \ gtkgesture.c \ gtkgesture.h -- 2.43.5