summaryrefslogtreecommitdiff
path: root/platform/gl
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-06-26 11:18:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-07-04 17:23:21 +0200
commit47f4a39fa39e5f4c8b7ef8fc91d90728c9880220 (patch)
treebc3d5b4c350690350c1637d29350005dd15dd529 /platform/gl
parent2b9d084882cc04b79e194368e8d1393f55d36d61 (diff)
downloadmupdf-47f4a39fa39e5f4c8b7ef8fc91d90728c9880220.tar.xz
Rename pdf_get_annot_contents to pdf_annot_contents.
Since the function no longer returns ownership of the string, use the common naming convention.
Diffstat (limited to 'platform/gl')
-rw-r--r--platform/gl/gl-annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-annotate.c b/platform/gl/gl-annotate.c
index 873612c7..9acf7746 100644
--- a/platform/gl/gl-annotate.c
+++ b/platform/gl/gl-annotate.c
@@ -314,7 +314,7 @@ static void do_annotate_author(void)
{
if (pdf_annot_has_author(ctx, selected_annot))
{
- const char *author = pdf_get_annot_author(ctx, selected_annot);
+ const char *author = pdf_annot_author(ctx, selected_annot);
if (strlen(author) > 0)
ui_label("Author: %s", author);
}
@@ -348,7 +348,7 @@ static void do_annotate_contents(void)
if (selected_annot != last_annot)
{
last_annot = selected_annot;
- contents = pdf_get_annot_contents(ctx, selected_annot);
+ contents = pdf_annot_contents(ctx, selected_annot);
ui_input_init(&input, contents);
}