X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-annotation.c;h=e215fdfbda7538a24a12181822d1b7c7f567f68a;hb=223cc03e0275c77c4482ed0495b3bd15993a3ab8;hp=a0433ee2361509f7b3d349a750ebdb7260214e73;hpb=03887c145d9614a0ca83f81d359a1e86b13b06c5;p=evince.git 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);