Constructor
PidginPresenceIconnew
unstable since: 3.0
Declaration [src]
GtkWidget*
pidgin_presence_icon_new (
PurplePresence* presence,
const gchar* fallback,
GtkIconSize icon_size
)
Parameters
presence-
Type:
PurplePresenceThe
PurplePresenceto represent.The argument can be NULL.The data is owned by the caller of the function. fallback-
Type:
const gchar*The name of the icon to use as a fallback.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. icon_size-
Type:
GtkIconSizeThe
GtkIconSizeused to render the icon.
Return value
Type: PidginPresenceIcon
The new presence icon.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |