Method

PurpleProtocolget_icon_resource_path

unstable since: 3.0

Declaration [src]

const gchar*
purple_protocol_get_icon_resource_path (
  PurpleProtocol* protocol
)

Description [src]

Gets the icon resource path for protocol. This is used to make icons that have been embedded into a plugin available to libpurple. The returned value should be the path of where the icons are in the resource. See gtk_icon_theme_add_resource_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 gresource path where the icons can be found.

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