mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
6e3ec235ef
Patched for poppler 0.16 and added some upstream fixes. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
73 lines
1.8 KiB
Diff
73 lines
1.8 KiB
Diff
--- poppler.defs
|
|
+++ poppler.defs
|
|
@@ -1642,6 +1642,7 @@
|
|
(of-object "PopplerPage")
|
|
(c-name "poppler_page_render_to_pixbuf")
|
|
(return-type "none")
|
|
+ (unblock-threads #t)
|
|
(parameters
|
|
'("int" "src_x")
|
|
'("int" "src_y")
|
|
@@ -1657,6 +1658,7 @@
|
|
(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")
|
|
@@ -1672,12 +1674,14 @@
|
|
(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")
|
|
@@ -1694,6 +1698,7 @@
|
|
(of-object "PopplerPage")
|
|
(c-name "poppler_page_render")
|
|
(return-type "none")
|
|
+ (unblock-threads #t)
|
|
(parameters
|
|
'("cairo_t*" "cairo")
|
|
)
|
|
@@ -1703,6 +1708,7 @@
|
|
(of-object "PopplerPage")
|
|
(c-name "poppler_page_render_for_printing")
|
|
(return-type "none")
|
|
+ (unblock-threads #t)
|
|
(parameters
|
|
'("cairo_t*" "cairo")
|
|
)
|
|
@@ -1712,12 +1718,14 @@
|
|
(of-object "PopplerPage")
|
|
(c-name "poppler_page_get_thumbnail")
|
|
(return-type "cairo_surface_t*")
|
|
+ (unblock-threads #t)
|
|
)
|
|
|
|
(define-method render_selection
|
|
(of-object "PopplerPage")
|
|
(c-name "poppler_page_render_selection")
|
|
(return-type "none")
|
|
+ (unblock-threads #t)
|
|
(parameters
|
|
'("cairo_t*" "cairo")
|
|
'("PopplerRectangle*" "selection")
|
|
@@ -1779,6 +1787,7 @@
|
|
(of-object "PopplerPage")
|
|
(c-name "poppler_page_render_to_ps")
|
|
(return-type "none")
|
|
+ (unblock-threads #t)
|
|
(parameters
|
|
'("PopplerPSFile*" "ps_file")
|
|
)
|
|
|