Source/WebKit/gtk/webkit/webkitwebhistoryitem.cpp
WebKitWebHistoryItem* webkit_web_history_item_new()
{
    WebKitWebHistoryItem* webHistoryItem = WEBKIT_WEB_HISTORY_ITEM(g_object_new(WEBKIT_TYPE_WEB_HISTORY_ITEM, NULL));
    WebKitWebHistoryItemPrivate* priv = webHistoryItem->priv;

    RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create();
    priv->historyItem = item.release().releaseRef();
    webkit_history_item_add(webHistoryItem, priv->historyItem);

    return webHistoryItem;
}
/**
 * webkit_web_history_item_new:
 *
 * Creates a new #WebKitWebHistoryItem instance
 *
 * Return value: the new #WebKitWebHistoryItem
 */
Creates a new #WebKitWebHistoryItem instance

Return value: the new #WebKitWebHistoryItem
Creates a new #WebKitWebHistoryItem instance Return value : the new #WebKitWebHistoryItem
WebKitWebHistoryItem* webkit_web_history_item_new()
{
    WebKitWebHistoryItem* webHistoryItem = WEBKIT_WEB_HISTORY_ITEM(g_object_new(WEBKIT_TYPE_WEB_HISTORY_ITEM, NULL));
    WebKitWebHistoryItemPrivate* priv = webHistoryItem->priv;
    RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create();
    priv->historyItem = item.release().releaseRef();
    webkit_history_item_add(webHistoryItem, priv->historyItem);
    return webHistoryItem;
}
WebKitWebHistoryItem * webkit_web_history_item_new ( ) { WebKitWebHistoryItem * webHistoryItem = WEBKIT_WEB_HISTORY_ITEM ( g_object_new ( WEBKIT_TYPE_WEB_HISTORY_ITEM , NULL ) ) ; WebKitWebHistoryItemPrivate * priv = webHistoryItem -> priv ; RefPtr < WebCore :: HistoryItem > item = WebCore :: HistoryItem :: create ( ) ; priv -> historyItem = item . release ( ) . releaseRef ( ) ; webkit_history_item_add ( webHistoryItem , priv -> historyItem ) ; return webHistoryItem ; }
webkit_web_history_item_new:
 Creates a new #WebKitWebHistoryItem instance
webkit_web_history_item_new : Creates a new #WebKitWebHistoryItem instance