summaryrefslogtreecommitdiff
path: root/dev-python/python-poppler/files/python-poppler-0.12.1-75_74.diff
blob: 47b7a678e3df85e6d879cbe3177d651a5f03edd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- 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")
   )