[evince] libview: Set the area of the annotations created by the user



commit 4d40865b764927bc101b5770264e86968be0e0ff
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Fri Jun 5 18:29:10 2015 +0200

    libview: Set the area of the annotations created by the user

 libview/ev-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index e787fdf..dd2a295 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3334,6 +3334,7 @@ ev_view_create_annotation (EvView *view)
        }
        g_object_unref (page);
 
+       ev_annotation_set_area (annot, &doc_rect);
        ev_annotation_set_color (annot, &color);
 
        if (EV_IS_ANNOTATION_MARKUP (annot)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]