diff options
Diffstat (limited to 'dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch')
-rw-r--r-- | dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch b/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch new file mode 100644 index 00000000000..2099e0af11f --- /dev/null +++ b/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch @@ -0,0 +1,65 @@ +--- pypoppler-0.12.1/poppler.defs 2011-10-24 11:57:35.000000000 +0200 ++++ pypoppler-0.12.1/poppler.defs 2011-10-24 12:01:28.000000000 +0200 +@@ -1646,62 +1646,6 @@ + (return-type "GType") + ) + +-(define-method render_to_pixbuf +- (of-object "PopplerPage") +- (c-name "poppler_page_render_to_pixbuf") +- (return-type "none") +- (unblock-threads #t) +- (parameters +- '("int" "src_x") +- '("int" "src_y") +- '("int" "src_width") +- '("int" "src_height") +- '("double" "scale") +- '("int" "rotation") +- '("GdkPixbuf*" "pixbuf") +- ) +-) +- +-(define-method render_to_pixbuf_for_printing +- (of-object "PopplerPage") +- (c-name "poppler_page_render_to_pixbuf_for_printing") +- (return-type "none") +- (unblock-threads #t) +- (parameters +- '("int" "src_x") +- '("int" "src_y") +- '("int" "src_width") +- '("int" "src_height") +- '("double" "scale") +- '("int" "rotation") +- '("GdkPixbuf*" "pixbuf") +- ) +-) +- +-(define-method get_thumbnail_pixbuf +- (of-object "PopplerPage") +- (c-name "poppler_page_get_thumbnail_pixbuf") +- (return-type "GdkPixbuf*") +- (unblock-threads #t) +-) +- +-(define-method render_selection_to_pixbuf +- (of-object "PopplerPage") +- (c-name "poppler_page_render_selection_to_pixbuf") +- (return-type "none") +- (unblock-threads #t) +- (parameters +- '("gdouble" "scale") +- '("int" "rotation") +- '("GdkPixbuf*" "pixbuf") +- '("PopplerRectangle*" "selection") +- '("PopplerRectangle*" "old_selection") +- '("PopplerSelectionStyle" "style") +- '("GdkColor*" "glyph_color") +- '("GdkColor*" "background_color") +- ) +-) +- + (define-method render + (of-object "PopplerPage") + (c-name "poppler_page_render") |