]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit-1.0: Add generic type arguments
authorJürg Billeter <j@bitron.ch>
Sat, 15 Jan 2011 11:37:51 +0000 (12:37 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 15 Jan 2011 11:39:23 +0000 (12:39 +0100)
Based on patch by Igor Boev, fixes bug 639150.

vapi/packages/webkit-1.0/webkit-1.0.metadata
vapi/webkit-1.0.vapi

index 8df5930dfb10653086767562b795aba5fef88527..4a5ed73c6ab5669ec1ae5404f29a2d53024c91ba 100644 (file)
@@ -1,4 +1,8 @@
 WebKit cheader_filename="webkit/webkit.h" lower_case_cprefix="webkit_"
+webkit_security_origin_get_all_web_databases type_arguments="WebKit.WebDatabase"
+webkit_web_back_forward_list_get_back_list_with_limit type_arguments="WebKit.WebHistoryItem"
+webkit_web_back_forward_list_get_forward_list_with_limit type_arguments="WebKit.WebHistoryItem"
+webkit_web_data_source_get_subresources type_arguments="WebKit.WebResource"
 webkit_web_frame_get_global_context hidden="1"
 webkit_web_settings_copy transfer_ownership="1"
 WebKitWebView::copy_clipboard has_emitter="1"
index 20fefc02cea3a3ff08db7c300c60dcba4e7dba9c..9e0d347f0380b51546374d26253d7848fbe06ea5 100644 (file)
@@ -71,7 +71,7 @@ namespace WebKit {
        public class SecurityOrigin : GLib.Object {
                [CCode (has_construct_function = false)]
                protected SecurityOrigin ();
-               public unowned GLib.List get_all_web_databases ();
+               public unowned GLib.List<WebKit.WebDatabase> get_all_web_databases ();
                public unowned string get_host ();
                public uint get_port ();
                public unowned string get_protocol ();
@@ -99,11 +99,11 @@ namespace WebKit {
                public bool contains_item (WebKit.WebHistoryItem history_item);
                public unowned WebKit.WebHistoryItem get_back_item ();
                public int get_back_length ();
-               public unowned GLib.List get_back_list_with_limit (int limit);
+               public unowned GLib.List<WebKit.WebHistoryItem> get_back_list_with_limit (int limit);
                public unowned WebKit.WebHistoryItem get_current_item ();
                public unowned WebKit.WebHistoryItem get_forward_item ();
                public int get_forward_length ();
-               public unowned GLib.List get_forward_list_with_limit (int limit);
+               public unowned GLib.List<WebKit.WebHistoryItem> get_forward_list_with_limit (int limit);
                public int get_limit ();
                public unowned WebKit.WebHistoryItem get_nth_item (int index);
                public void go_back ();
@@ -122,7 +122,7 @@ namespace WebKit {
                public unowned WebKit.NetworkRequest get_initial_request ();
                public unowned WebKit.WebResource get_main_resource ();
                public unowned WebKit.NetworkRequest get_request ();
-               public unowned GLib.List get_subresources ();
+               public unowned GLib.List<WebKit.WebResource> get_subresources ();
                public unowned string get_unreachable_uri ();
                public unowned WebKit.WebFrame get_web_frame ();
                public bool is_loading ();