From 1c008d8ed0aebaa2662df52796b02fcf3d2782c2 Mon Sep 17 00:00:00 2001
From: Adam Kewley <[EMAIL REDACTED]>
Date: Tue, 28 Jan 2025 12:42:58 +0100
Subject: [PATCH] Change DBUS introspection timer from INFINITE -> DEFAULT when
introspecting available dialog services
---
src/dialog/unix/SDL_portaldialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dialog/unix/SDL_portaldialog.c b/src/dialog/unix/SDL_portaldialog.c
index 1d068ff20fa76..efecd12419026 100644
--- a/src/dialog/unix/SDL_portaldialog.c
+++ b/src/dialog/unix/SDL_portaldialog.c
@@ -497,7 +497,7 @@ bool SDL_Portal_detect(void)
goto done;
}
- reply = dbus->connection_send_with_reply_and_block(dbus->session_conn, msg, DBUS_TIMEOUT_INFINITE, NULL);
+ reply = dbus->connection_send_with_reply_and_block(dbus->session_conn, msg, DBUS_TIMEOUT_USE_DEFAULT, NULL);
dbus->message_unref(msg);
if (!reply) {
goto done;