Constructor

PidginAccountFilterProtocolnew

unstable since: 3.0

Declaration [src]

GtkFilter*
pidgin_account_filter_protocol_new (
  const gchar* protocol_id
)

Description [src]

Creates a new PidginAccountFilterProtocol that should be used to filter only protocols with the given protocol_id.

Available since: 3.0

Parameters

protocol_id

Type: const gchar*

The ID of the protocol to filter for.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkFilter

The new PidginAccountFilterProtocol instance.

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