Clone in a terminal:
Commit 4155b2d
Johan Mattsson - 2012-10-19T20:37:58+00:00
4155b2d8aa3e7bf90d83258fcd712b97ef6f0683johan.mattsson.m@gmail.com

canvas allocation

Changed files (3)

Diff

diff --git a/src/Allocation.vala b/src/Allocation.valanew file mode 100644index 0000000..efcc36d--- /dev/null+++ b/src/Allocation.vala@@ -0,0 +1,27 @@+/*+    Copyright (C) 2012 Johan Mattsson++    This program is free software: you can redistribute it and/or modify+    it under the terms of the GNU General Public License as published by+    the Free Software Foundation, either version 3 of the License, or+    (at your option) any later version.++    This program is distributed in the hope that it will be useful,+    but WITHOUT ANY WARRANTY; without even the implied warranty of+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the+    GNU General Public License for more details.++    You should have received a copy of the GNU General Public License+    along with this program.  If not, see <http://www.gnu.org/licenses/>.+*/++namespace Supplement {++public struct Allocation {+	public int width;+	public int height;+	public int x;+	public int y;+}++}diff --git a/src/GlyphCanvas.vala b/src/GlyphCanvas.valaindex cd0f964..d95a2cf 100644--- a/src/GlyphCanvas.vala+++ b/src/GlyphCanvas.vala@@ -20,13 +20,6 @@ using Math; 
 namespace Supplement {
 
-public struct Allocation {
-	public int width;
-	public int height;
-	public int x;
-	public int y;
-}
-
 public class GlyphCanvas : GLib.Object {
 
 	public FontDisplay current_display;
diff --git a/src/wscript b/src/wscriptindex 1c06169..dda6a65 100644--- a/src/wscript+++ b/src/wscript@@ -1,4 +1,5 @@ BIRDFONT = [+	'Allocation.vala', 	'Argument.vala', 	'Font.vala', 	'BackgroundTool.vala',

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112