gnucash master: GncGSettings - cosmetic: NULL->nullptr

Geert Janssens gjanssens at code.gnucash.org
Fri Feb 17 08:08:24 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/64329414 (commit)
	from  https://github.com/Gnucash/gnucash/commit/32ae4798 (commit)



commit 64329414e982f1ea17d007596e884a01f85e7c3e
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 17 14:08:20 2023 +0100

    GncGSettings - cosmetic: NULL->nullptr

diff --git a/libgnucash/app-utils/gnc-gsettings.cpp b/libgnucash/app-utils/gnc-gsettings.cpp
index 2a39e75de..9a2e58940 100644
--- a/libgnucash/app-utils/gnc-gsettings.cpp
+++ b/libgnucash/app-utils/gnc-gsettings.cpp
@@ -279,7 +279,7 @@ static void
 gs_obj_block_handlers ([[maybe_unused]] gpointer key, gpointer gs_obj,
                        [[maybe_unused]] gpointer pointer)
 {
-    g_signal_handlers_block_matched (gs_obj, G_SIGNAL_MATCH_CLOSURE, 0, 0, NULL, NULL, NULL);
+    g_signal_handlers_block_matched (gs_obj, G_SIGNAL_MATCH_CLOSURE, 0, 0, nullptr, nullptr, nullptr);
     PINFO("Block all handlers for GSettings object %p", gs_obj);
 }
 
@@ -287,7 +287,7 @@ static void
 gs_obj_unblock_handlers ([[maybe_unused]] gpointer key, gpointer gs_obj,
                          [[maybe_unused]] gpointer pointer)
 {
-    g_signal_handlers_unblock_matched (gs_obj, G_SIGNAL_MATCH_CLOSURE, 0, 0, NULL, NULL, NULL);
+    g_signal_handlers_unblock_matched (gs_obj, G_SIGNAL_MATCH_CLOSURE, 0, 0, nullptr, nullptr, nullptr);
     PINFO("Unblock all handlers for GSettings object %p", gs_obj);
 }
 



Summary of changes:
 libgnucash/app-utils/gnc-gsettings.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list