From: Jürg Billeter Date: Thu, 23 Oct 2008 11:21:41 +0000 (+0000) Subject: Fix runtime error when using GValue with D-Bus X-Git-Tag: VALA_0_5_1~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25aed9f9f64eb9bc6c5986a6f16ccb49214458e2;p=thirdparty%2Fvala.git Fix runtime error when using GValue with D-Bus 2008-10-23 Jürg Billeter * vapi/gobject-2.0.vapi: Fix runtime error when using GValue with D-Bus svn path=/trunk/; revision=1876 --- diff --git a/ChangeLog b/ChangeLog index b55b25325..2c8bcde40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-23 Jürg Billeter + + * vapi/gobject-2.0.vapi: + + Fix runtime error when using GValue with D-Bus + 2008-10-23 Jürg Billeter * vapi/gobject-2.0.vapi: diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index d18864d96..d5d7e502c 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -253,7 +253,7 @@ namespace GLib { public static delegate void ValueTransform (Value src_value, out Value dest_value); - [CCode (type_id = "G_TYPE_VALUE", type_signature = "v")] + [CCode (type_id = "G_TYPE_VALUE", marshaller_type_name = "BOXED", get_value_function = "g_value_get_boxed", set_value_function = "g_value_set_boxed", type_signature = "v")] public struct Value { [CCode (cname = "G_VALUE_HOLDS")] public bool holds (Type type);