[vala] D-Bus: Remove extra semicolon to avoid C warning
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] D-Bus: Remove extra semicolon to avoid C warning
- Date: Wed, 23 Mar 2011 21:34:03 +0000 (UTC)
commit 63f721daeaa7707a8b7053b2071b116fcec32d13
Author: Jürg Billeter <j bitron ch>
Date: Wed Mar 23 22:26:55 2011 +0100
D-Bus: Remove extra semicolon to avoid C warning
codegen/valagdbusclientmodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagdbusclientmodule.vala b/codegen/valagdbusclientmodule.vala
index 6df1a2d..ed71cea 100644
--- a/codegen/valagdbusclientmodule.vala
+++ b/codegen/valagdbusclientmodule.vala
@@ -182,7 +182,7 @@ public class Vala.GDBusClientModule : GDBusModule {
define_type.add_argument (new CCodeConstant ("0"));
define_type.add_argument (new CCodeIdentifier (implement_interface (define_type, iface, iface)));
- cfile.add_type_member_definition (new CCodeExpressionStatement (define_type));
+ cfile.add_type_member_definition (define_type);
var proxy_class_init = new CCodeFunction (lower_cname + "_class_init", "void");
proxy_class_init.add_parameter (new CCodeParameter ("klass", cname + "Class*"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]