]> www.fi.muni.cz Git - evince.git/commitdiff
[libdocument] Add missing parts of previous commit
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 25 Jul 2010 11:06:41 +0000 (13:06 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 25 Jul 2010 11:06:41 +0000 (13:06 +0200)
libdocument/ev-annotation.c

index a0433ee2361509f7b3d349a750ebdb7260214e73..e215fdfbda7538a24a12181822d1b7c7f567f68a 100644 (file)
@@ -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);