summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index f0f24377..4122d391 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7631,9 +7631,8 @@ merge_selection_region (EvView *view,
tmp_region = ev_pixbuf_cache_get_selection_region (view->pixbuf_cache,
cur_page,
view->scale);
- if (tmp_region && !cairo_region_is_empty (tmp_region)) {
- new_sel->covered_region = cairo_region_reference (tmp_region);
- }
+ if (tmp_region)
+ new_sel->covered_region = cairo_region_reference (tmp_region);
}
/* Now we figure out what needs redrawing */