summaryrefslogtreecommitdiff
path: root/src/page-view.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 11:39:48 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 11:39:48 +0200
commitd3b3513c5f264d5d9b61f036e40fba818d2279c5 (patch)
tree3d8629fb2541195727c49658bfeed58bebd45318 /src/page-view.vala
parent01618ecd59eb344c087956a2633ec70f0df0d76d (diff)
parentd6e4c86952c77e816571c4bffe48d2ce27f109e8 (diff)
Merge branch 'release/debian/3.32.2.1-1'debian/3.32.2.1-1
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;