]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
fix some issues with the low-level API
authorJuerg Billeter <j@bitron.ch>
Wed, 10 Oct 2007 07:50:32 +0000 (07:50 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Wed, 10 Oct 2007 07:50:32 +0000 (07:50 +0000)
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

ChangeLog
vapi/dbus-glib-1.vapi

index 6a7637da89b5fa2a295bc18a03f6f24b7700a5a6..289e9a61b72c612e5c9f9480e9fed1a6b485774f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index b9984db314c5cbd09a33347bcde5255836b0665e..1f47c83764620ed2f55c90437c5395ad220436c3 100644 (file)
@@ -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 ();
        }