[gnome-settings-daemon] printers: Cancel CUPS' subscription properly



commit f849c4bacf18b931924ea393b80bcd37ba6ffbd6
Author: Marek Kasik <mkasik redhat com>
Date:   Wed Mar 30 12:15:49 2011 +0200

    printers: Cancel CUPS' subscription properly
    
    Use "notify-subscription-id" attribute when cancelling the subscription.

 .../gsd-print-notifications-manager.c              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/print-notifications/gsd-print-notifications-manager.c b/plugins/print-notifications/gsd-print-notifications-manager.c
index eed6ee4..9005714 100644
--- a/plugins/print-notifications/gsd-print-notifications-manager.c
+++ b/plugins/print-notifications/gsd-print-notifications-manager.c
@@ -631,7 +631,7 @@ gsd_print_notifications_manager_stop (GsdPrintNotificationsManager *manager)
                 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name",
                              NULL, cupsUser ());
                 ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER,
-                              "notify-subscription-ids", manager->priv->subscription_id);
+                              "notify-subscription-id", manager->priv->subscription_id);
                 ippDelete(cupsDoRequest(http, request, "/"));
         }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]