Commit e97dcfa3 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[libdocument] Add missing parts of previous commit

parent 03887c14
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment