Created
October 12, 2014 12:32
-
-
Save akermu/c3f0a3a1a7d2ee88b7c1 to your computer and use it in GitHub Desktop.
pdf-tools patch for poppler 0.26.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1cbe3b900cfe85d6645c5366563117a0f7b3184e Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Lukas=20F=C3=BCrmetz?= <fuermetz@mailbox.org> | |
Date: Sun, 12 Oct 2014 14:25:01 +0200 | |
Subject: [PATCH] Fix for poppler 26.5 | |
--- | |
src/epdfinfo.c | 2 +- | |
src/epdfinfo.h | 2 +- | |
2 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/src/epdfinfo.c b/src/epdfinfo.c | |
index 01001ff..34fa8f8 100644 | |
--- a/src/epdfinfo.c | |
+++ b/src/epdfinfo.c | |
@@ -1879,7 +1879,7 @@ cmd_editannot (const ctxt_t *ctx, const arg_t *args) | |
area->x1 = x1 * width; | |
area->y2 = height - (y1 * height); | |
- poppler_annot_set_rectangle (pannot, *area); | |
+ poppler_annot_set_rectangle (pannot, area); | |
g_object_unref (page); | |
} | |
diff --git a/src/epdfinfo.h b/src/epdfinfo.h | |
index 899a957..69c4b21 100644 | |
--- a/src/epdfinfo.h | |
+++ b/src/epdfinfo.h | |
@@ -118,7 +118,7 @@ typedef struct | |
int nargs; /* Anzahl Argumente */ | |
} cmd_t; | |
-extern void poppler_annot_set_rectangle (PopplerAnnot*, PopplerRectangle); | |
+extern void poppler_annot_set_rectangle (PopplerAnnot*, PopplerRectangle*); | |
extern gchar *poppler_annot_markup_get_created (PopplerAnnotMarkup*); | |
#endif /* _EPDF_H_ */ | |
-- | |
2.1.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment