diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-printers-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |