From: Carlos Garcia Campos Date: Sun, 25 Jul 2010 11:06:41 +0000 (+0200) Subject: [libdocument] Add missing parts of previous commit X-Git-Tag: EVINCE_2_31_6~29 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=e97dcfa3042280923d58ac036d02aebcc2e22d5e;p=evince.git [libdocument] Add missing parts of previous commit --- 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);