[vala] dova: Fix critical on ellipsis parameter
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] dova: Fix critical on ellipsis parameter
- Date: Sun, 3 Oct 2010 17:28:03 +0000 (UTC)
commit 946a68d27177cdf1fa9824245164008384a810ac
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 4d65c26..e8483f9 100644
--- a/codegen/valadovaobjectmodule.vala
+++ b/codegen/valadovaobjectmodule.vala
@@ -1910,7 +1910,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]