Method

PackageKitPackageSackremove_package

since: 0.5.2

Declaration [src]

gboolean
pk_package_sack_remove_package (
  PkPackageSack* sack,
  PkPackage* package
)

Description [src]

Removes a package reference from the sack. The pointers have to match exactly.

Available since: 0.5.2

Parameters

package

Type: PkPackage

A valid PkPackage instance.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the package was removed from the sack.