Title: [96606] trunk/Source/WebKit2
Revision
96606
Author
[email protected]
Date
2011-10-04 10:39:33 -0700 (Tue, 04 Oct 2011)

Log Message

[WebKit2][gtk] Fix warnings while generating documentation using gtk-doc.
https://bugs.webkit.org/show_bug.cgi?id=69329

Patch by Nayan Kumar K <[email protected]> on 2011-10-04
Reviewed by Martin Robinson.

Added documentation for WebKitNetworkError enum and corrected few other
minor issues in WebKit2-GTK+ API documentation.

* UIProcess/API/gtk/WebKitError.h: Added documentation for WebKitNetworkError.
* UIProcess/API/gtk/WebKitWebLoaderClient.cpp:
(webkit_web_loader_client_class_init): Corrected parameter name.
* UIProcess/API/gtk/WebKitWebView.cpp: Corrected annotation.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (96605 => 96606)


--- trunk/Source/WebKit2/ChangeLog	2011-10-04 17:22:16 UTC (rev 96605)
+++ trunk/Source/WebKit2/ChangeLog	2011-10-04 17:39:33 UTC (rev 96606)
@@ -1,3 +1,18 @@
+2011-10-04  Nayan Kumar K  <[email protected]>
+
+        [WebKit2][gtk] Fix warnings while generating documentation using gtk-doc.
+        https://bugs.webkit.org/show_bug.cgi?id=69329
+
+        Reviewed by Martin Robinson.
+
+        Added documentation for WebKitNetworkError enum and corrected few other
+        minor issues in WebKit2-GTK+ API documentation.
+
+        * UIProcess/API/gtk/WebKitError.h: Added documentation for WebKitNetworkError.
+        * UIProcess/API/gtk/WebKitWebLoaderClient.cpp:
+        (webkit_web_loader_client_class_init): Corrected parameter name.
+        * UIProcess/API/gtk/WebKitWebView.cpp: Corrected annotation.
+
 2011-10-04  Vsevolod Vlasov  <[email protected]>
 
         Web Inspector: Remove http/tests/inspector/network/disabled-cache-crash.html.

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitError.h (96605 => 96606)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitError.h	2011-10-04 17:22:16 UTC (rev 96605)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitError.h	2011-10-04 17:39:33 UTC (rev 96606)
@@ -32,6 +32,17 @@
 
 #define WEBKIT_NETWORK_ERROR webkit_network_error_quark ()
 
+/**
+ * WebKitNetworkError:
+ * @WEBKIT_NETWORK_ERROR_FAILED: Generic load failure
+ * @WEBKIT_NETWORK_ERROR_TRANSPORT: Load failure due to transport error
+ * @WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL: Load failure due to unknown protocol
+ * @WEBKIT_NETWORK_ERROR_CANCELLED: Load failure due to cancellation
+ * @WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST: Load failure due to missing file
+ *
+ * Enum values used to denote the various network errors.
+ *
+ **/
 typedef enum {
     WEBKIT_NETWORK_ERROR_FAILED = 399,
     WEBKIT_NETWORK_ERROR_TRANSPORT = 300,

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebLoaderClient.cpp (96605 => 96606)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebLoaderClient.cpp	2011-10-04 17:22:16 UTC (rev 96605)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebLoaderClient.cpp	2011-10-04 17:39:33 UTC (rev 96606)
@@ -221,7 +221,7 @@
 
     /**
      * WebKitWebLoaderClient::provisional-load-started:
-     * @loader_client: the #WebKitWebLoader
+     * @loader_client: the #WebKitWebLoaderClient
      *
      * This signal is emitted when new load request is made.
      * No data has been received yet, empty structures have
@@ -244,7 +244,7 @@
 
     /**
      * WebKitWebLoaderClient::provisional-load-received-server-redirect:
-     * @loader_client: the #WebKitWebLoader
+     * @loader_client: the #WebKitWebLoaderClient
      *
      * This signal is emitted when a provisional data source
      * receives a server redirect.
@@ -266,7 +266,7 @@
 
     /**
      * WebKitWebLoaderClient::provisional-load-failed:
-     * @loader_client: the #WebKitWebLoader
+     * @loader_client: the #WebKitWebLoaderClient
      * @error: the #GError that was triggered
      *
      * This signal is emitted when an error occurs when starting to
@@ -293,7 +293,7 @@
 
     /**
      * WebKitWebLoaderClient::load-committed:
-     * @loader_client: the #WebKitWebLoader
+     * @loader_client: the #WebKitWebLoaderClient
      *
      * This signal is emitted when content starts arriving for a page load.
      * The necessary transport requirements are stabilished, and the
@@ -315,7 +315,7 @@
                      G_TYPE_NONE);
     /**
      * WebKitWebLoaderClient::load-finished:
-     * @loader_client: the #WebKitWebLoader
+     * @loader_client: the #WebKitWebLoaderClient
      *
      * This signal is emitted when a page load completes, that is, when all
      * the resources are done loading with no error. In case of errors
@@ -340,7 +340,7 @@
 
     /**
      * WebKitWebLoaderClient::load-failed:
-     * @loader_client: the #WebKitWebLoader
+     * @loader_client: the #WebKitWebLoaderClient
      * @error: the #GError that was triggered
      *
      * This signal is emitted when an error occurs loading a committed data source.

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp (96605 => 96606)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp	2011-10-04 17:22:16 UTC (rev 96605)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp	2011-10-04 17:39:33 UTC (rev 96606)
@@ -157,7 +157,7 @@
  *
  * Gets the web context of @web_view.
  *
- * Returns: (transfer-none): the #WebKitWebContext of the view
+ * Returns: (transfer none): the #WebKitWebContext of the view
  */
 WebKitWebContext* webkit_web_view_get_context(WebKitWebView *webView)
 {
@@ -173,7 +173,7 @@
  * Returns the #WebKitWebLoaderClient of @web_view. You can use it
  * to monitor the status of load operations happening on @web_view.
  *
- * Returns: (trasnfer-none): the #WebKitWebLoaderClient of @web_view.
+ * Returns: (transfer none): the #WebKitWebLoaderClient of @web_view.
  */
 WebKitWebLoaderClient* webkit_web_view_get_loader_client(WebKitWebView* webView)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to