]> www.fi.muni.cz Git - evince.git/commitdiff
More bits.
authorMichael Meeks <mmeeks@src.gnome.org>
Thu, 3 Jun 1999 22:00:55 +0000 (22:00 +0000)
committerMichael Meeks <mmeeks@src.gnome.org>
Thu, 3 Jun 1999 22:00:55 +0000 (22:00 +0000)
pdf/xpdf/ChangeLog
pdf/xpdf/gpdf.cc

index 81019bd6f9e907009475f1dd2491015efff17660..5da3a36c02018b9244aa0e60be8d905d348f252f 100644 (file)
@@ -1,5 +1,8 @@
 1999-06-03  Michael Meeks  <michael@edenproject.org>
 
+       * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
+       (GOutputDev): Setup 'depth' correctly.
+
        * gpdf.cc (main): Moved freeParams() to after the main
        loop !
 
index 147222b409aefcbbf3c6f700a18cdd07180137ba..5eff140135117bc259a96d241574dffde11de882 100644 (file)
@@ -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;
 }