[vala/0.10] dova: Fix critical on ellipsis parameter
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] dova: Fix critical on ellipsis parameter
- Date: Sun, 3 Oct 2010 17:33:45 +0000 (UTC)
commit 2df457c00d16eed71224c85ccd6e10714f9f5443
Author: Jürg Billeter <j bitron ch>
Date: Sun Sep 26 13:26:23 2010 +0200
dova: Fix critical on ellipsis parameter
codegen/valadovaobjectmodule.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valadovaobjectmodule.vala b/codegen/valadovaobjectmodule.vala
index 5c2c104..ec6b016 100644
--- a/codegen/valadovaobjectmodule.vala
+++ b/codegen/valadovaobjectmodule.vala
@@ -1897,7 +1897,9 @@ public class Vala.DovaObjectModule : DovaArrayModule {
vdeclarator.add_parameter (cparam);
}
if (vcall != null) {
- vcall.add_argument (get_variable_cexpression (param.name));
+ if (param.name != null) {
+ vcall.add_argument (get_variable_cexpression (param.name));
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]