--- plugins/print-notifications/gsd-print-notifications-manager.c
+++ plugins/print-notifications/gsd-print-notifications-manager.c	2024-05-12 13:42:46.000000000 +0800
@@ -1556,7 +1556,7 @@
          * Set a password callback which cancels authentication
          * before we prepare a correct solution (see bug #725440).
          */
-        cupsSetPasswordCB2 (password_cb, NULL);
+        cupsSetPasswordCB (password_cb);
 
         if (server_is_local (cupsServer ())) {
                 manager->num_dests = cupsGetDests (&manager->dests);
