core: handleDbusScreensaver must return uint32

This commit is contained in:
André Silva 2024-10-23 11:37:10 +01:00
parent af2d65dcdc
commit a214581616
No known key found for this signature in database
GPG key ID: 7C34FA12A023DC55

View file

@ -430,7 +430,7 @@ static void handleDbusBlockInhibitsPropertyChanged(sdbus::Message msg) {
} }
} }
static int handleDbusScreensaver(std::string app, std::string reason, uint32_t cookie, bool inhibit, const char* sender) { static uint32_t handleDbusScreensaver(std::string app, std::string reason, uint32_t cookie, bool inhibit, const char* sender) {
std::string ownerID = sender; std::string ownerID = sender;
if (!inhibit) { if (!inhibit) {