Declaration [src]

pidgin_blist_get_name_markup (
  PurpleBuddy* buddy,
  gboolean selected,
  gboolean aliased

Description [src]

Returns a buddy’s Pango markup appropriate for setting in a GtkCellRenderer.


buddy PurpleBuddy

The buddy to return markup from.

 The data is owned by the caller of the function.
selected gboolean

Whether this buddy is selected. If TRUE, the markup will not change the color.

aliased gboolean

TRUE to return the appropriate alias of this buddy, FALSE to return its username and status information.

Return value

Returns: gchar*

The markup for this buddy.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.