Method

FwupdDeviceadd_icon

Declaration [src]

void
fwupd_device_add_icon (
  FwupdDevice* self,
  const gchar* icon
)

Description [src]

Adds the icon name if it does not already exist.

Available since:0.9.8

Parameters

icon const gchar*
 

The name, e.g. input-mouse or /usr/share/icons/foo.png

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.