--- a/pidgin/gtkidle.c Fri Jul 12 00:13:26 2024 -0500 +++ b/pidgin/gtkidle.c Tue Sep 17 03:53:30 2024 -0500 @@ -74,12 +74,11 @@ # ifdef HAVE_IOKIT /* Query the IOKit API */ - static io_service_t macIOsrvc = NULL; + static io_service_t macIOsrvc = 0; CFTypeRef property; uint64_t idle_time = 0; /* nanoseconds */ - if (macIOsrvc == NULL) - { + if(macIOsrvc == 0) { mach_port_t master; IOMasterPort(MACH_PORT_NULL, &master); macIOsrvc = IOServiceGetMatchingService(master,