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.0

Return value

Returns: const gchar*

The gresource path where the icons can be found.

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