]> www.fi.muni.cz Git - evince.git/commitdiff
Colours, and cut down bug to clipping regions.
authorMichael Meeks <mmeeks@src.gnome.org>
Thu, 29 Jul 1999 22:37:06 +0000 (22:37 +0000)
committerMichael Meeks <mmeeks@src.gnome.org>
Thu, 29 Jul 1999 22:37:06 +0000 (22:37 +0000)
pdf/xpdf/gpdf.cc

index b1c01800a837ff4db31449b778c0ea2d1ba4cbe7..adcdc93349e1224cd64d4c9411ead0d031b354d0 100644 (file)
@@ -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));
 
 
   {