summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiegfried-Angel Gevatter Pujals <siegfried@gevatter.com>2012-02-18 22:33:57 +0100
committerSiegfried-Angel Gevatter Pujals <siegfried@gevatter.com>2012-02-18 22:33:57 +0100
commit6b187bfff571f7309652086744d306cb15503a7f (patch)
tree323130728544d210857d1f0da3ecde8ffd2e141f
parent7414a610946987d1786c75dcfea574200cb227ad (diff)
Leave va_list there but don't use it.
-rw-r--r--src/datamodel.vala9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/datamodel.vala b/src/datamodel.vala
index 5db38e9b..c81e2101 100644
--- a/src/datamodel.vala
+++ b/src/datamodel.vala
@@ -348,21 +348,16 @@ namespace Zeitgeist
subjects.add (subject);
}
- // FIXME: change this to va_list once Vala bug #647097 is fixed
public Event.full (string? interpretation=null,
string? manifestation=null, string? actor=null,
- string? origin=null, GenericArray<Subject>? subjects=null)
+ string? origin=null, ...)
{
this.interpretation = interpretation;
this.manifestation = manifestation;
this.actor = actor;
this.origin = origin;
- if (subjects != null)
- this.subjects = subjects;
- else
- this.subjects = new GenericArray<Subject> ();
-
+ // FIXME: We can't use this until Vala bug #647097 is fixed
/*
var subjects = va_list ();
unowned Subject subject;