summaryrefslogtreecommitdiff
path: root/src/page.vala
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2013-01-15 00:46:35 +0000
committerAlessio Treglia <alessio@debian.org>2013-01-15 00:46:35 +0000
commitb99db4e5834bb8668c249bb7ce30af9a4d23527e (patch)
tree59506788a14a1d2fdabc08516882b19981260a6d /src/page.vala
parent026e231507aa5dae486255b6450b410f37e3abb0 (diff)
Imported Upstream version 3.6.0upstream/3.6.0
Diffstat (limited to 'src/page.vala')
-rw-r--r--src/page.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/page.vala b/src/page.vala
index ef7ddb6..3bf34d7 100644
--- a/src/page.vala
+++ b/src/page.vala
@@ -57,7 +57,7 @@ public class Page
private int crop_y;
private int crop_width;
private int crop_height;
-
+
public signal void pixels_changed ();
public signal void size_changed ();
public signal void scan_line_changed ();
@@ -84,7 +84,7 @@ public class Page
{
expected_rows = info.height;
dpi = (int) info.dpi;
-
+
/* Create a white page */
width = info.width;
n_rows = info.height;
@@ -406,13 +406,13 @@ public class Page
public void set_named_crop (string name)
{
- double width, height;
+ double width, height;
switch (name)
{
case "A4":
width = 8.3;
height = 11.7;
- break;
+ break;
case "A5":
width = 5.8;
height = 8.3;