From 619b5df0e58ae569c6e2d9cd4519593e0541f92e Mon Sep 17 00:00:00 2001 From: Cristina Suteu Date: Thu, 11 Jan 2024 09:35:40 +0200 Subject: [PATCH] dialog.c: add back gdk_threads functions Signed-off-by: Cristina Suteu --- dialogs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dialogs.c b/dialogs.c index 442fa61f..c72fc5dc 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1115,6 +1115,7 @@ static gboolean version_info_show(gpointer data) gchar *buf; /* don't bother showing the dialog if version check failed (applies only at startup) */ + gdk_threads_enter(); if (!release && !data) return false; @@ -1183,7 +1184,7 @@ static gboolean version_info_show(gpointer data) gtk_widget_hide(_dialogs->latest_version); end: - + gdk_threads_leave(); return false; }