summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-form-field.c2
-rw-r--r--libdocument/ev-form-field.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/libdocument/ev-form-field.c b/libdocument/ev-form-field.c
index 08e504e4..b744eb8f 100644
--- a/libdocument/ev-form-field.c
+++ b/libdocument/ev-form-field.c
@@ -55,6 +55,8 @@ ev_form_field_finalize (GObject *object)
g_object_unref (field->page);
field->page = NULL;
+ g_clear_object (&field->activation_link);
+
(* G_OBJECT_CLASS (ev_form_field_parent_class)->finalize) (object);
}
diff --git a/libdocument/ev-form-field.h b/libdocument/ev-form-field.h
index 6ccd1524..a8a48ffd 100644
--- a/libdocument/ev-form-field.h
+++ b/libdocument/ev-form-field.h
@@ -28,6 +28,7 @@
#include <glib-object.h>
#include "ev-document.h"
+#include "ev-link.h"
G_BEGIN_DECLS
@@ -108,6 +109,7 @@ struct _EvFormField
gint id;
gboolean is_read_only;
gdouble font_size;
+ EvLink *activation_link;
EvPage *page;
gboolean changed;