Commit 0fa3802e authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix some issues with the low-level API

2007-10-10  Juerg Billeter  <j@bitron.ch>

	* vapi/dbus-glib-1.vapi: fix some issues with the low-level API

svn path=/trunk/; revision=651
parent a29a5742
2007-10-10 Jürg Billeter <j@bitron.ch>
* vapi/dbus-glib-1.vapi: fix some issues with the low-level API
2007-10-09 Jürg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
......
......@@ -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 ();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment