summaryrefslogtreecommitdiff
path: root/backend/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pdf')
-rw-r--r--backend/pdf/ev-poppler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 2cda56eb..e21bd768 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -2988,7 +2988,7 @@ pdf_document_annotations_add_annotation (EvDocumentAnnotations *document_annotat
annot_mapping->data = annot;
g_object_set_data_full (G_OBJECT (annot),
"poppler-annot",
- g_object_ref (poppler_annot),
+ poppler_annot,
(GDestroyNotify) g_object_unref);
if (pdf_document->annots) {