From 4fc55be84bb852515958c2030d1109c783d5698f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Aliste?= Date: Wed, 13 Feb 2013 16:23:35 +0100 Subject: libdocument: Add activation_link to EvFormField struct origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=5410cf9 --- libdocument/ev-form-field.c | 2 ++ libdocument/ev-form-field.h | 2 ++ 2 files changed, 4 insertions(+) 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 #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; -- cgit v1.2.1