summaryrefslogtreecommitdiff
path: root/src/page-view.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:05 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:05 +0200
commit6036820119035cd589e2114c217fedc354bfbbd7 (patch)
tree85c06383a85a9de20b7dd32e3f32ac7790844747 /src/page-view.vala
parent0e384edd113205731fd0dc9f8e148d7dd5c6e5c3 (diff)
New upstream version 3.32.2upstream/3.32.2
Diffstat (limited to 'src/page-view.vala')
-rw-r--r--src/page-view.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/page-view.vala b/src/page-view.vala
index 03fecfb..abe5e69 100644
--- a/src/page-view.vala
+++ b/src/page-view.vala
@@ -23,7 +23,7 @@ public enum CropLocation
BOTTOM_RIGHT
}
-public class PageView
+public class PageView : Object
{
/* Page being rendered */
public Page page { get; private set; }
@@ -563,7 +563,7 @@ public class PageView
private CropLocation get_crop_location (int x, int y)
{
if (!page.has_crop)
- return 0;
+ return CropLocation.NONE;
var cx = page.crop_x;
var cy = page.crop_y;