From: Michael Meeks Date: Thu, 29 Jul 1999 22:37:06 +0000 (+0000) Subject: Colours, and cut down bug to clipping regions. X-Git-Tag: ChangeLog~42 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=55cbca7fd12e74047036b8e29976dbb1638f2f58;p=evince.git Colours, and cut down bug to clipping regions. --- diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index b1c01800..adcdc933 100644 --- a/pdf/xpdf/gpdf.cc +++ b/pdf/xpdf/gpdf.cc @@ -54,6 +54,7 @@ struct DOC_ROOT { GdkPixmap *pixmap; OutputDev *out; GdkColor paper; + GtkScrolledWindow *scroll; }; static void @@ -106,7 +107,8 @@ doc_config_event (GtkWidget *widget, void *ugly) 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); + doc->out = new GOutputDev (doc->pixmap, doc->paper, + gtk_widget_get_parent_window (widget)); {