aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch
blob: 177c26b653e77afa46d7fea50ecf988c83bf02e8 (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
From 096324789b3471be367c3075b51204b94cd70905 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 30 Dec 2010 08:06:52 +0000
Subject: [PATCH] poppler: reflect the poppler_page_get_text API change

http://cgit.freedesktop.org/poppler/poppler/commit/?id=b257428150e2c13dcc24fd8f75e4ee2c679ab414
---
 poppler/src/poppler.def |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/poppler/src/poppler.def b/poppler/src/poppler.def
index fbe20de..255587a 100644
--- a/poppler/src/poppler.def
+++ b/poppler/src/poppler.def
@@ -1499,7 +1499,7 @@ defFunction('poppler_page_render_to_ps',
 	}
 )
 
-defFunction('poppler_page_get_text',
+defFunction('poppler_page_get_selected_text',
 	{
 		class = 'PopplerPage',
 		since = '0.1',
@@ -1508,6 +1508,15 @@ defFunction('poppler_page_get_text',
 	}
 )
 
+defFunction('poppler_page_get_text',
+	{
+		class = 'PopplerPage',
+		since = '0.1',
+		args = {'GObject* none'},
+		ret = 'char* full'
+	}
+)
+
 defFunction('poppler_page_get_selection_region',
 	{
 		class = 'PopplerPage',
-- 
1.7.3.4