summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Aliste <[email protected]>2013-02-13 16:23:35 +0100
committerraveit65 <[email protected]>2017-08-28 16:04:00 +0200
commit4fc55be84bb852515958c2030d1109c783d5698f (patch)
treee8edbf28d49f55f8f6a604519ec9f77aef9e48f6
parent9f70b4ff8f9bff8671c886294f1b3403ce4c1067 (diff)
downloadatril-4fc55be84bb852515958c2030d1109c783d5698f.tar.bz2
atril-4fc55be84bb852515958c2030d1109c783d5698f.tar.xz
libdocument: Add activation_link to EvFormField struct
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=5410cf9
-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;