[glabels/vala] Fixed leading whitespace.
- From: Jim Evins <jimevins src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glabels/vala] Fixed leading whitespace.
- Date: Sat, 31 Mar 2012 02:47:32 +0000 (UTC)
commit bebf15ca97aa0c52d7d87d6c5dcc6a4ac5f3dc0d
Author: Jim Evins <evins snaught com>
Date: Fri Mar 30 22:47:04 2012 -0400
Fixed leading whitespace.
glabels/enum_util.vala | 6 +++---
glabels/print.vala | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/glabels/enum_util.vala b/glabels/enum_util.vala
index ce2cf52..4e738c8 100644
--- a/glabels/enum_util.vala
+++ b/glabels/enum_util.vala
@@ -90,13 +90,13 @@ namespace glabels
case "regular":
case "Regular":
case "REGULAR":
- return Pango.Weight.NORMAL;
+ return Pango.Weight.NORMAL;
case "bold":
case "Bold":
case "BOLD":
- return Pango.Weight.BOLD;
+ return Pango.Weight.BOLD;
default:
- return Pango.Weight.NORMAL;
+ return Pango.Weight.NORMAL;
}
}
diff --git a/glabels/print.vala b/glabels/print.vala
index 0fdd7f3..34dbf7a 100644
--- a/glabels/print.vala
+++ b/glabels/print.vala
@@ -141,7 +141,6 @@ namespace glabels
double y,
MergeRecord? record )
{
-
double w, h;
label.get_size( out w, out h );
@@ -165,8 +164,8 @@ namespace glabels
}
if ( reverse_flag )
{
- cr.translate( w, 0 );
- cr.scale( -1, 1 );
+ cr.translate( w, 0 );
+ cr.scale( -1, 1 );
}
label.draw( cr, false, record );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]