Method

AppStreamComponentset_compulsory_for_desktop

Declaration [src]

void
as_component_set_compulsory_for_desktop (
  AsComponent* cpt,
  const gchar* desktop
)

Description [src]

Mark this component to be compulsory for the specified desktop environment.

Parameters

desktop const gchar*
 

The name of the desktop.

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