summaryrefslogtreecommitdiff
path: root/src/page.vala
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2013-01-15 00:46:37 +0000
committerAlessio Treglia <alessio@debian.org>2013-01-15 00:46:37 +0000
commit8f1bef0c8abe53da0001b0d4df1f5439fecd9c3b (patch)
tree67137e06f48cbe06c0bf16052ea446edf63eb7a0 /src/page.vala
parentd723aded8c1b91731f391754358750e9119d6689 (diff)
parentb99db4e5834bb8668c249bb7ce30af9a4d23527e (diff)
Merge tag 'upstream/3.6.0'
Upstream version 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;