]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix dbus notifier (Issue #1235)
authorMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 18:58:04 +0000 (14:58 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 18:58:04 +0000 (14:58 -0400)
CHANGES.md
notifier/dbus.c

index 6409cb6938a6aa31b3bbbc3f91c06241e47cf312..896b9b88454ebe4b6fcceee5abdf27c0ea99875b 100644 (file)
@@ -7,7 +7,7 @@ Changes in CUPS v2.4.13 (YYYY-MM-DD)
 
 - Fixed a memory leak in `httpClose` (Issue #1223)
 - Fixed missing commas in `ippCreateRequestedArray` (Issue #1234)
-- Fixed subscription threading issues in the scheduler (Issue #1235)
+- Fixed subscription issues in the scheduler and D-Bus notifier (Issue #1235)
 
 
 Changes in CUPS v2.4.12 (2025-04-08)
index 7151567ccb165279891908201f7eb0a8f3f31d7d..fb798c933d8a4bbd4130dbe8459ece4b37f17084 100644 (file)
@@ -1,13 +1,14 @@
 /*
  * D-Bus notifier for CUPS.
  *
- * Copyright © 2020-2024 by OpenPrinting.
- * Copyright 2008-2014 by Apple Inc.
- * Copyright (C) 2011, 2013 Red Hat, Inc.
- * Copyright (C) 2007 Tim Waugh <twaugh@redhat.com>
- * Copyright 1997-2005 by Easy Software Products.
+ * Copyright © 2020-2025 by OpenPrinting.
+ * Copyright © 2008-2014 by Apple Inc.
+ * Copyright © 2011, 2013 Red Hat, Inc.
+ * Copyright © 2007 Tim Waugh <twaugh@redhat.com>
+ * Copyright © 1997-2005 by Easy Software Products.
  *
- * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more
+ * information.
  */
 
 /*
@@ -321,7 +322,7 @@ main(int  argc,                             /* I - Number of command-line args */
        signame = "PrinterAdded";
       else if (!strcmp(word2, "deleted"))
        signame = "PrinterDeleted";
-      else if (!strcmp(word2, "modified"))
+      else if (!strcmp(word2, "config-changed") || !strcmp(word2, "modified"))
        signame = "PrinterModified";
       else
        continue;