Method

PurpleProtocolget_icon_search_path

unstable since: 3.0

Declaration [src]

const gchar*
purple_protocol_get_icon_search_path (
  PurpleProtocol* protocol
)

Description [src]

Gets the icon search path for protocol. This is used to allow protocol plugins to install their icons in any XDG icon theme compliant directory. The returned value should be the path of where the icons are on disk. See gtk_icon_theme_add_search_path() for additional information.

User interfaces will look for icons in this path named %chat-<protocol-name> where protocol-name is the name property of protocol.

Available since: 3.0

Return value

Type: const gchar*

The file system path where the icons can be found.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.