[evince] [libdocument] Add missing parts of previous commit
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [libdocument] Add missing parts of previous commit
- Date: Sun, 25 Jul 2010 11:07:21 +0000 (UTC)
commit e97dcfa3042280923d58ac036d02aebcc2e22d5e
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Jul 25 13:06:41 2010 +0200
[libdocument] Add missing parts of previous commit
libdocument/ev-annotation.c | 10 ++++++++++
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]