[dconf/wip/varlib: 4/12] vapi: fix up some binding issues



commit a3adaeac5b025fb131868982a1b6ed1dd3f08def
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Nov 29 20:16:57 2013 -0500

    vapi: fix up some binding issues

 client/dconf.vapi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/client/dconf.vapi b/client/dconf.vapi
index 7e5cdae..eadc121 100644
--- a/client/dconf.vapi
+++ b/client/dconf.vapi
@@ -20,15 +20,17 @@ namespace DConf {
        }
 
        [Compact]
-       [CCode (ref_function = "dconf_changeset_ref", unref_function = "dconf_changeset_unref")]
+       [CCode (cheader_filename = "dconf.h", ref_function = "dconf_changeset_ref", unref_function = 
"dconf_changeset_unref")]
        public class Changeset {
                public delegate bool Predicate (string path, GLib.Variant? value);
                public Changeset ();
                public Changeset.write (string path, GLib.Variant? value);
+               public Changeset.database (Changeset? copy_of = null);
                public void set (string path, GLib.Variant? value);
                public bool get (string path, out GLib.Variant? value);
                public bool is_similar_to (Changeset other);
                public bool all (Predicate predicate);
+               [CCode (returns_floating_reference = true)]
                public GLib.Variant serialise ();
                public static Changeset deserialise (GLib.Variant serialised);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]