diff options
author | Didier Roche <didrocks@ubuntu.com> | 2012-09-07 17:03:59 +0200 |
---|---|---|
committer | Didier Roche <didrocks@ubuntu.com> | 2012-09-07 17:03:59 +0200 |
commit | 730d0a8eed6ab260935fe8a91e72dbdf30e2a2ef (patch) | |
tree | 23e0312cac51a6a568e5625bffabb5695c92f962 | |
parent | c187461f756de86428162d3ed600ae271d574da8 (diff) | |
parent | fe48eac5838c85e434fb0ec8e798b4a5b5a69802 (diff) | |
download | ayatana-indicator-printers-730d0a8eed6ab260935fe8a91e72dbdf30e2a2ef.tar.gz ayatana-indicator-printers-730d0a8eed6ab260935fe8a91e72dbdf30e2a2ef.tar.bz2 ayatana-indicator-printers-730d0a8eed6ab260935fe8a91e72dbdf30e2a2ef.zip |
* Cherry-pick a fix in trunk for FTBFS (cups changed its API):
- Don't access CUPS' ipp_attribute_t directly. Thanks Larsu
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | src/indicator-printers-service.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 16f5f5d..fad240b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-printers (0.1.6-0ubuntu3) UNRELEASED; urgency=low + + * Cherry-pick a fix in trunk for FTBFS (cups changed its API): + - Don't access CUPS' ipp_attribute_t directly. Thanks Larsu + + -- Didier Roche <didrocks@ubuntu.com> Fri, 07 Sep 2012 17:03:18 +0200 + indicator-printers (0.1.6-0ubuntu2) quantal; urgency=low * debian/control: diff --git a/src/indicator-printers-service.c b/src/indicator-printers-service.c index ad5ef88..fb85069 100644 --- a/src/indicator-printers-service.c +++ b/src/indicator-printers-service.c @@ -56,7 +56,7 @@ create_subscription () attr = ippFindAttribute (resp, "notify-subscription-id", IPP_TAG_INTEGER); if (attr) - id = attr->values[0].integer; + id = ippGetInteger (attr, 0); else g_warning ("ipp-create-printer-subscription response doesn't contain " "subscription id.\n"); |