[vala] girwriter: Add self parameter to the callback of virtual methods field
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girwriter: Add self parameter to the callback of virtual methods field
- Date: Mon, 23 May 2011 16:46:43 +0000 (UTC)
commit ec7f7b1f15f08c49d70200a1b9226be6e0231abf
Author: Luca Bruno <lucabru src gnome org>
Date: Mon May 23 18:43:49 2011 +0200
girwriter: Add self parameter to the callback of virtual methods field
Fixes bug 650607.
codegen/valagirwriter.vala | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index 8c5d352..1d65c73 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -260,7 +260,6 @@ public class Vala.GIRWriter : CodeVisitor {
hierarchy.insert (0, cl);
cl.accept_children (this);
- hierarchy.remove_at (0);
indent--;
write_indent ();
@@ -305,7 +304,7 @@ public class Vala.GIRWriter : CodeVisitor {
buffer.append_printf ("</field>\n");
}
}
-
+ hierarchy.remove_at (0);
indent--;
write_indent ();
@@ -403,7 +402,6 @@ public class Vala.GIRWriter : CodeVisitor {
hierarchy.insert (0, iface);
iface.accept_children (this);
- hierarchy.remove_at (0);
indent--;
write_indent ();
@@ -436,6 +434,7 @@ public class Vala.GIRWriter : CodeVisitor {
buffer.append_printf ("</field>\n");
}
}
+ hierarchy.remove_at (0);
indent--;
write_indent ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]