[vala] Fix constructor of markup reader
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Fix constructor of markup reader
- Date: Sun, 17 Jan 2010 12:57:26 +0000 (UTC)
commit 46bb137c34fd742b511a505ddb6c47c64e941c1c
Author: Jürg Billeter <j bitron ch>
Date: Sun Jan 17 13:56:56 2010 +0100
Fix constructor of markup reader
vala/valamarkupreader.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/vala/valamarkupreader.vala b/vala/valamarkupreader.vala
index 41ec731..9d495e5 100644
--- a/vala/valamarkupreader.vala
+++ b/vala/valamarkupreader.vala
@@ -44,9 +44,7 @@ public class Vala.MarkupReader : Object {
public MarkupReader (string filename) {
this.filename = filename;
- }
-
- construct {
+
try {
mapped_file = new MappedFile (filename, false);
begin = mapped_file.get_contents ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]