Commit f6e3dc72 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Set annotation text state

parent 25bad1d3
......@@ -268,8 +268,8 @@ zathura_annotation_from_poppler_annotation(zathura_page_t* page, PopplerAnnotMap
zathura_annotation_text_set_icon(annotation, icon);
PopplerAnnotTextState poppler_state = poppler_annot_text_get_state(annot_text);
int flags = poppler_get_zathura_text_state(poppler_state);
zathura_annotation_text_set_flags(annotation, flags);
zathura_annotation_text_state_t state = poppler_get_zathura_text_state(poppler_state);
zathura_annotation_text_set_state(annotation, state);
return annotation;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment