Title: [204080] trunk/Source/WebKit2
Revision
204080
Author
mcatanz...@igalia.com
Date
2016-08-03 07:35:38 -0700 (Wed, 03 Aug 2016)

Log Message

[GTK] Document how to initialize WebKitFaviconDatabase
https://bugs.webkit.org/show_bug.cgi?id=160391

Reviewed by Carlos Garcia Campos.

* UIProcess/API/gtk/WebKitFaviconDatabase.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (204079 => 204080)


--- trunk/Source/WebKit2/ChangeLog	2016-08-03 10:41:11 UTC (rev 204079)
+++ trunk/Source/WebKit2/ChangeLog	2016-08-03 14:35:38 UTC (rev 204080)
@@ -1,3 +1,12 @@
+2016-08-03  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [GTK] Document how to initialize WebKitFaviconDatabase
+        https://bugs.webkit.org/show_bug.cgi?id=160391
+
+        Reviewed by Carlos Garcia Campos.
+
+        * UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
+
 2016-08-02  Tim Horton  <timothy_hor...@apple.com>
 
         REGRESSION (r203385): Frequent RELEASE_ASSERT in WebKit::RemoteLayerTreeDrawingArea::flushLayers()

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.cpp (204079 => 204080)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.cpp	2016-08-03 10:41:11 UTC (rev 204079)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.cpp	2016-08-03 14:35:38 UTC (rev 204080)
@@ -259,6 +259,12 @@
  * This is an asynchronous method. When the operation is finished, callback will
  * be invoked. You can then call webkit_favicon_database_get_favicon_finish()
  * to get the result of the operation.
+ *
+ * You must call webkit_web_context_set_favicon_database_directory() for
+ * the #WebKitWebContext associated with this #WebKitFaviconDatabase
+ * before attempting to use this function; otherwise,
+ * webkit_favicon_database_get_favicon_finish() will return
+ * %WEBKIT_FAVICON_DATABASE_ERROR_NOT_INITIALIZED.
  */
 void webkit_favicon_database_get_favicon(WebKitFaviconDatabase* database, const gchar* pageURI, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer userData)
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to