]> 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, 22 Jan 2011 10:05:36 +0000 (11:05 +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 abd2ea22b908e447081a6d4366cf28b4fa0f40b8..8a470adb2cbe2336f8f922a8189c8ba67b6005d9 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 769a994639842ae15c0676c617f75883e2fd9eb5..7f03374fcbbfc87a568bb9a2684b155df1f025e1 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 ();