From 47f4a39fa39e5f4c8b7ef8fc91d90728c9880220 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 26 Jun 2018 11:18:39 +0200 Subject: Rename pdf_get_annot_contents to pdf_annot_contents. Since the function no longer returns ownership of the string, use the common naming convention. --- platform/gl/gl-annotate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/gl') 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); } -- cgit v1.2.3