Method

PackageKitPackageSackremove_package_by_id

since: 0.5.2

Declaration [src]

gboolean
pk_package_sack_remove_package_by_id (
  PkPackageSack* sack,
  const gchar* package_id
)

Description [src]

Removes a package reference from the sack. As soon as one package is removed the search is stopped.

Available since: 0.5.2

Parameters

package_id

Type: const gchar*

A package_id descriptor.

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

Return value

Type: gboolean

TRUE if the package was removed from the sack.