Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps/ps-document.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-08-23 08:33:52 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-08-23 08:33:52 (GMT)
commit8df02504363901b99bfdd0cf79d56b9e92f4f9c3 (patch)
tree7927d1c76a15d7074132fd77de8e74a2668288b2 /ps/ps-document.c
parent0164b34659c495690e3629e5d7c3e71c3efe2cca (diff)
Adapt to the new poppler rotation API. Fix text maps on landscape
2005-08-23 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event): * shell/ev-view.c: (highlight_find_results): Adapt to the new poppler rotation API. Fix text maps on landscape documents.
Diffstat (limited to 'ps/ps-document.c')
-rw-r--r--ps/ps-document.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ps/ps-document.c b/ps/ps-document.c
index 5a4a457..f95dfe0 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -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;