Method

PackageKitPackageequal

since: 0.5.4

Declaration [src]

gboolean
pk_package_equal (
  PkPackage* package1,
  PkPackage* package2
)

Description [src]

Do the PkPackage‘s have the same ID.

Available since: 0.5.4

Parameters

package2

Type: PkPackage

A valid PkPackage instance.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the packages have the same package_id, info, summary and update severity.