From e97dcfa3042280923d58ac036d02aebcc2e22d5e Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 25 Jul 2010 13:06:41 +0200 Subject: [PATCH] [libdocument] Add missing parts of previous commit --- libdocument/ev-annotation.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c index a0433ee2..e215fdfb 100644 --- a/libdocument/ev-annotation.c +++ b/libdocument/ev-annotation.c @@ -743,6 +743,11 @@ ev_annotation_text_set_property (GObject *object, { EvAnnotationText *annot = EV_ANNOTATION_TEXT (object); + if (prop_id < PROP_ATTACHMENT_ATTACHMENT) { + ev_annotation_markup_set_property (object, prop_id, value, pspec); + return; + } + switch (prop_id) { case PROP_TEXT_ICON: ev_annotation_text_set_icon (annot, g_value_get_enum (value)); @@ -763,6 +768,11 @@ ev_annotation_text_get_property (GObject *object, { EvAnnotationText *annot = EV_ANNOTATION_TEXT (object); + if (prop_id < PROP_ATTACHMENT_ATTACHMENT) { + ev_annotation_markup_get_property (object, prop_id, value, pspec); + return; + } + switch (prop_id) { case PROP_TEXT_ICON: g_value_set_enum (value, annot->icon); -- 2.43.5