Source/WebKit/gtk/webkit/webkitwebview.cpp
GdkPixbuf* webkit_web_view_get_icon_pixbuf(WebKitWebView* webView)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 0);

    const gchar* pageURI = webkit_web_view_get_uri(webView);
    WebKitIconDatabase* database = webkit_get_icon_database();
    return webkit_icon_database_get_icon_pixbuf(database, pageURI);
}
/**
 * webkit_web_view_get_icon_pixbuf:
 * @webView: the #WebKitWebView object
 *
 * Obtains a #GdkPixbuf of the favicon for the given #WebKitWebView, or
 * a default icon if there is no icon for the given page. Use
 * webkit_web_view_get_icon_uri() if you need to distinguish these cases.
 * Usually you want to connect to WebKitWebView::icon-loaded and call this
 * method in the callback.
 *
 * The pixbuf will have the largest size provided by the server and should
 * be resized before it is displayed.
 * See also webkit_icon_database_get_icon_pixbuf().
 *
 * Returns: (transfer full): a new reference to a #GdkPixbuf, or %NULL
 *
 * Since: 1.3.13
 */
@webView: the #WebKitWebView object

Obtains a #GdkPixbuf of the favicon for the given #WebKitWebView, or
a default icon if there is no icon for the given page. Use
webkit_web_view_get_icon_uri() if you need to distinguish these cases.
Usually you want to connect to WebKitWebView::icon-loaded and call this
method in the callback.

The pixbuf will have the largest size provided by the server and should
be resized before it is displayed.

(transfer full): a new reference to a #GdkPixbuf, or %NULL


@webView : the #WebKitWebView object Obtains a #GdkPixbuf of the favicon for the given #WebKitWebView or a default icon if there is no icon for the given page . Use webkit_web_view_get_icon_uri () if you need to distinguish these cases . Usually you want to connect to WebKitWebView :: icon - loaded and call this method in the callback . The pixbuf will have the largest size provided by the server and should be resized before it is displayed . ( transfer full ) : a new reference to a #GdkPixbuf or %NULL
GdkPixbuf* webkit_web_view_get_icon_pixbuf(WebKitWebView* webView)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 0);
    const gchar* pageURI = webkit_web_view_get_uri(webView);
    WebKitIconDatabase* database = webkit_get_icon_database();
    return webkit_icon_database_get_icon_pixbuf(database, pageURI);
}
GdkPixbuf * webkit_web_view_get_icon_pixbuf ( WebKitWebView * webView ) { g_return_val_if_fail ( WEBKIT_IS_WEB_VIEW ( webView ) , 0 ) ; const gchar * pageURI = webkit_web_view_get_uri ( webView ) ; WebKitIconDatabase * database = webkit_get_icon_database ( ) ; return webkit_icon_database_get_icon_pixbuf ( database , pageURI ) ; }
webkit_web_view_get_icon_pixbuf:
 @webView: the #WebKitWebView object
webkit_web_view_get_icon_pixbuf : @webView : the #WebKitWebView object