From: Juerg Billeter Date: Wed, 10 Oct 2007 07:50:32 +0000 (+0000) Subject: fix some issues with the low-level API X-Git-Tag: VALA_0_1_5~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fa3802ef793ac770e8b81525d46bfb1127bb4e2;p=thirdparty%2Fvala.git fix some issues with the low-level API 2007-10-10 Juerg Billeter * vapi/dbus-glib-1.vapi: fix some issues with the low-level API svn path=/trunk/; revision=651 --- diff --git a/ChangeLog b/ChangeLog index 6a7637da8..289e9a61b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-10 Jürg Billeter + + * vapi/dbus-glib-1.vapi: fix some issues with the low-level API + 2007-10-09 Jürg Billeter * configure.ac: Post-release version bump diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi index b9984db31..1f47c8376 100644 --- a/vapi/dbus-glib-1.vapi +++ b/vapi/dbus-glib-1.vapi @@ -29,9 +29,9 @@ namespace DBus { STARTER } - public struct RawBus { + public static class RawBus { [CCode (cname = "dbus_bus_get")] - public static RawConnection get (BusType type, ref Error error); + public static RawConnection get (BusType type, ref RawError error); } [CCode (ref_function = "dbus_connection_ref", unref_function = "dbus_connection_unref", cname = "DBusConnection")] @@ -40,16 +40,13 @@ namespace DBus { public void setup_with_main (GLib.MainContext context = null); } - [CCode (cname = "DBusError")] + [CCode (cname = "DBusError", cprefix = "dbus_error_")] public struct RawError { public string name; public string message; - [InstanceByReference] public void init (); - [InstanceByReference] public bool has_name (string name); - [InstanceByReference] public bool is_set (); }