]> www.fi.muni.cz Git - evince.git/blobdiff - ps/ps-document.c
Adapt to the new poppler rotation API. Fix text maps on landscape
[evince.git] / ps / ps-document.c
index 5a4a457183e8205a0664e7bdd5be3d23d23d60e7..f95dfe0f3a0764a999893f2cc2337db4a23e2563 100644 (file)
@@ -215,9 +215,11 @@ push_pixbuf (PSDocument *gs)
 
        cmap = gdk_window_get_colormap (gs->pstarget);
        gdk_drawable_get_size (gs->bpixmap, &width, &height);
+       LOG ("Get from drawable\n");
        pixbuf =  gdk_pixbuf_get_from_drawable (NULL, gs->bpixmap, cmap,
                                                0, 0, 0, 0,
                                                width, height);
+       LOG ("Get from drawable done\n");
        g_signal_emit_by_name (gs, "render_finished", pixbuf);
        g_object_unref (pixbuf);
 }
@@ -247,6 +249,7 @@ ps_document_widget_event (GtkWidget *widget, GdkEvent *event, gpointer data)
                gs->busy = FALSE;
 
                push_pixbuf (gs);
+               LOG ("Pixbuf pushed");
        }
 
        return TRUE;