]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add type_id for GHashTable
authorJürg Billeter <j@bitron.ch>
Sun, 14 Dec 2008 19:12:37 +0000 (19:12 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 14 Dec 2008 19:12:37 +0000 (19:12 +0000)
2008-12-14  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Add type_id for GHashTable

svn path=/trunk/; revision=2146

ChangeLog
vapi/glib-2.0.vapi

index 0d05c84a98cfcb2071024819db4fc2e28b780d33..67bb64f3f1f9c9208bdb1e48095ac22b0c112592 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-14  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi:
+
+       Add type_id for GHashTable
+
 2008-12-14  Jürg Billeter  <j@bitron.ch>
 
        * gobject/valadbusmodule.vala:
index be614fe3d6e0442ceee1a3a95a05fd548fd73a08..5157d6de177b308f575df68bee7e0b4c2c73b8f6 100644 (file)
@@ -2883,7 +2883,7 @@ namespace GLib {
        /* Hash Tables */
 
        [Compact]
-       [CCode (ref_function = "g_hash_table_ref", unref_function = "g_hash_table_unref", type_signature = "a{%s}")]
+       [CCode (ref_function = "g_hash_table_ref", unref_function = "g_hash_table_unref", type_id = "G_TYPE_HASH_TABLE", type_signature = "a{%s}")]
        public class HashTable<K,V> : Boxed {
                public HashTable (HashFunc hash_func, EqualFunc key_equal_func);
                public HashTable.full (HashFunc hash_func, EqualFunc key_equal_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func);