From: Michael Meeks Date: Thu, 3 Jun 1999 22:00:55 +0000 (+0000) Subject: More bits. X-Git-Tag: ChangeLog~47 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=5f8665905e640372b862cfe30b71628cd1e40051;p=evince.git More bits. --- diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog index 81019bd6..5da3a36c 100644 --- a/pdf/xpdf/ChangeLog +++ b/pdf/xpdf/ChangeLog @@ -1,5 +1,8 @@ 1999-06-03 Michael Meeks + * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H + (GOutputDev): Setup 'depth' correctly. + * gpdf.cc (main): Moved freeParams() to after the main loop ! diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index 147222b4..5eff1401 100644 --- a/pdf/xpdf/gpdf.cc +++ b/pdf/xpdf/gpdf.cc @@ -102,16 +102,11 @@ doc_config_event (GtkWidget *widget, void *ugly) widget->allocation.height, -1); + printf ("Creating pixmap of size %d %d\n", + widget->allocation.width, widget->allocation.height); gdk_color_white (gtk_widget_get_default_colormap(), &doc->paper); doc->out = new GOutputDev (doc->pixmap, doc->paper); -/* gdk_draw_rectangle (doc->pixmap, - widget->style->white_gc, - TRUE, - 0, 0, - widget->allocation.width, - widget->allocation.height);*/ - printf ("Configured...\n"); return TRUE; }