[vala] webkit-1.0: Add generic type arguments



commit f3c6ac2d8d4c95c40b0f4d3d97edf4344056d5f6
Author: Jürg Billeter <j bitron ch>
Date:   Sat Jan 15 12:37:51 2011 +0100

    webkit-1.0: Add generic type arguments
    
    Based on patch by Igor Boev, fixes bug 639150.

 vapi/packages/webkit-1.0/webkit-1.0.metadata |    4 ++++
 vapi/webkit-1.0.vapi                         |    8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vapi/packages/webkit-1.0/webkit-1.0.metadata b/vapi/packages/webkit-1.0/webkit-1.0.metadata
index 8df5930..4a5ed73 100644
--- a/vapi/packages/webkit-1.0/webkit-1.0.metadata
+++ b/vapi/packages/webkit-1.0/webkit-1.0.metadata
@@ -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"
diff --git a/vapi/webkit-1.0.vapi b/vapi/webkit-1.0.vapi
index 20fefc0..9e0d347 100644
--- a/vapi/webkit-1.0.vapi
+++ b/vapi/webkit-1.0.vapi
@@ -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 ();



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