Function

WebKitUserAgentnew

unstable since: 2.56

Declaration [src]

WebKitUserAgent*
webkit_user_agent_new (
  WebKitUserAgentType type
)

Description [src]

Creates a new WebKitUserAgent initialized with the given type.

Available since: 2.56

Parameters

type

Type: WebKitUserAgentType

A WebKitUserAgentType.

Return value

Type: WebKitUserAgent

The newly created WebKitUserAgent.

The caller of the function takes ownership of the data, and is responsible for freeing it.