[vala] girparser: Fix virtual signals in interfaces
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girparser: Fix virtual signals in interfaces
- Date: Sat, 6 Aug 2011 09:31:52 +0000 (UTC)
commit 1a399423fc95d730c80c9ef27f9f8e50aae2522f
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Thu Aug 4 10:16:45 2011 +0100
girparser: Fix virtual signals in interfaces
The default handler is marked "abstract" and was considered to be an emitter
vala/valagirparser.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 645e215..1581753 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -743,7 +743,7 @@ public class Vala.GirParser : CodeVisitor {
merged = true;
} else if (sym is Signal) {
var sig = (Signal) sym;
- if (m.is_virtual) {
+ if (m.is_virtual || m.is_abstract) {
sig.is_virtual = true;
} else {
sig.set_attribute ("HasEmitter", true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]