core: handleDbusScreensaver must return uint32 (#98)

This commit is contained in:
André Silva 2024-10-23 11:39:20 +01:00 committed by GitHub
parent af2d65dcdc
commit 4d2fb9e73e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
if (!inhibit) {