Method

AppStreamComponentget_bundle

Declaration [src]

AsBundle*
as_component_get_bundle (
  AsComponent* cpt,
  AsBundleKind bundle_kind
)

Description [src]

Gets a bundle identifier string.

Available since:0.8.0

Parameters

bundle_kind AsBundleKind
 

The bundle kind, e.g. AS_BUNDLE_KIND_LIMBA.

Return value

Returns: AsBundle
 

An AsBundle, or NULL if not set.

 The data is owned by the instance.
 The return value can be NULL.