Method

PurpleRequestFieldAccountset_filter

Declaration [src]

void
purple_request_field_account_set_filter (
  PurpleRequestFieldAccount* field,
  PurpleRequestFieldAccountFilterFunc filter_func,
  gpointer user_data,
  GDestroyNotify destroy_data
)

Description [src]

Sets the account filter function in an account field.

This function will determine which accounts get displayed and which don’t.

Parameters

filter_func

Type: PurpleRequestFieldAccountFilterFunc

The account filter function, or NULL to disable additional filtering.

user_data

Type: gpointer

The data to pass to the filter callback.

The argument can be NULL.
The data is owned by the caller of the method.
destroy_data

Type: GDestroyNotify

A cleanup function for user_data.