Constructor
PidginPresenceIconnew
unstable since: 3.0
Declaration [src]
GtkWidget*
pidgin_presence_icon_new (
PurplePresence* presence,
const gchar* fallback,
GtkIconSize icon_size
)
Parameters
presence
-
Type:
PurplePresence
The
PurplePresence
to 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:
GtkIconSize
The
GtkIconSize
used to render the icon.
Return value
Type: GtkWidget
The new presence icon.
The caller of the function takes ownership of the data, and is responsible for freeing it. |