From f4fb298e749b16d591ebd1cb15cfec8c2c3efeec Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 9 Feb 2000 18:58:37 +0000 Subject: [PATCH] remove some cruft, and check for latest bonobo. --- pdf/xpdf/ChangeLog | 4 ++++ pdf/xpdf/gpdf.cc | 1 - pdf/xpdf/xpdf.cc | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog index 7b70d469..a0c2ec13 100644 --- a/pdf/xpdf/ChangeLog +++ b/pdf/xpdf/ChangeLog @@ -1,3 +1,7 @@ +2000-02-09 Michael Meeks + + * Clean unused & lack of casting all round the place. + 2000-02-07 Michael Meeks * bonobo-application-x-pdf.cc: fix typo. diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index cbeef126..b12ccbd5 100644 --- a/pdf/xpdf/gpdf.cc +++ b/pdf/xpdf/gpdf.cc @@ -301,7 +301,6 @@ static void container_about_cmd (GtkWidget *widget, Container *container) { GtkWidget *about; - int i; const gchar *authors[] = { N_("Derek B. Noonburg, main author"), diff --git a/pdf/xpdf/xpdf.cc b/pdf/xpdf/xpdf.cc index 4e5a2a8c..dd31b941 100644 --- a/pdf/xpdf/xpdf.cc +++ b/pdf/xpdf/xpdf.cc @@ -779,7 +779,7 @@ static void displayPage(int page1, int zoom1, int rotate1, GBool addToHist) { } else { dpi = zoomDPI[zoom - minZoom]; } - doc->displayPage(out, page, dpi, rotate, gTrue); + doc->displayPage(out, page, (double)dpi, rotate, gTrue); updateScrollbars(); // update page number display -- 2.43.5