summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2017-08-26 16:32:48 +0930
committerAdrian Johnson <ajohnson@redneon.com>2017-08-26 16:32:48 +0930
commit12b875aef374636d1693a631524dd3b622277415 (patch)
tree6f12588130603a9ff432742c29727e9065bc6796 /src/cairo-pdf-surface-private.h
parentdf37baf7895ef9acc71f3627b22e7368c8af3ea1 (diff)
downloadcairo-12b875aef374636d1693a631524dd3b622277415.tar.gz
pdf: use link attributes instead of dest name for cairo_pdf_surface_add_outline
In PDF outline targets are specified the same way as link targets so there is no need to restrict the target to dest names.
Diffstat (limited to 'src/cairo-pdf-surface-private.h')
-rw-r--r--src/cairo-pdf-surface-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pdf-surface-private.h b/src/cairo-pdf-surface-private.h
index be721af24..09262e0d3 100644
--- a/src/cairo-pdf-surface-private.h
+++ b/src/cairo-pdf-surface-private.h
@@ -194,7 +194,7 @@ typedef struct _cairo_pdf_named_dest {
typedef struct _cairo_pdf_outline_entry {
char *name;
- char *dest;
+ cairo_link_attrs_t link_attrs;
cairo_pdf_outline_flags_t flags;
cairo_pdf_resource_t res;
struct _cairo_pdf_outline_entry *parent;