[vala] gio-2.0: Fix out params of MenuModel.get_item_attributes and .get_item_links



commit cbbefa1786900313e6a953f22c659e041e042194
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Jul 26 22:18:05 2013 +0200

    gio-2.0: Fix out params of MenuModel.get_item_attributes and .get_item_links
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704931

 vapi/gio-2.0.vapi              |    4 ++--
 vapi/metadata/Gio-2.0.metadata |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 0926c35..d2dbaa9 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1444,10 +1444,10 @@ namespace GLib {
                public bool get_item_attribute (int item_index, string attribute, string format_string, ...);
                public virtual GLib.Variant get_item_attribute_value (int item_index, string attribute, 
GLib.VariantType? expected_type);
                [NoWrapper]
-               public virtual void get_item_attributes (int item_index, GLib.HashTable<void*,void*> 
attributes);
+               public virtual void get_item_attributes (int item_index, [CCode (type = "GHashTable**")] out 
GLib.HashTable<string,GLib.Variant>? attributes);
                public virtual GLib.MenuModel get_item_link (int item_index, string link);
                [NoWrapper]
-               public virtual void get_item_links (int item_index, GLib.HashTable<void*,void*> links);
+               public virtual void get_item_links (int item_index, [CCode (type = "GHashTable**")] out 
GLib.HashTable<string,GLib.MenuModel>? links);
                public virtual int get_n_items ();
                public virtual bool is_mutable ();
                public virtual GLib.MenuAttributeIter iterate_item_attributes (int item_index);
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 3ebb8b2..becfbfc 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -142,6 +142,8 @@ MenuItem
   .set_attribute skip=false
 MenuModel
   .get_item_attribute skip=false
+  .get_item_attributes.attributes out type="GLib.HashTable<string,GLib.Variant>?"
+  .get_item_links.links out type="GLib.HashTable<string,GLib.MenuModel>?"
 Mount
   .get_sort_key#virtual_method virtual
 OutputStream


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