Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-07-25 11:06:41 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-07-25 11:06:41 (GMT)
commite97dcfa3042280923d58ac036d02aebcc2e22d5e (patch)
tree836a5cc447c218d756eb68ba7066ba988a93a5a1
parent03887c145d9614a0ca83f81d359a1e86b13b06c5 (diff)
[libdocument] Add missing parts of previous commit
-rw-r--r--libdocument/ev-annotation.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c
index a0433ee..e215fdf 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);