Skip to content

Commit

Permalink
dialog.c: add back gdk_threads functions
Browse files Browse the repository at this point in the history
Signed-off-by: Cristina Suteu <[email protected]>
  • Loading branch information
cristina-suteu committed Jan 11, 2024
1 parent 2606ecc commit 619b5df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1183,7 +1184,7 @@ static gboolean version_info_show(gpointer data)
gtk_widget_hide(_dialogs->latest_version);

end:

gdk_threads_leave();
return false;
}

Expand Down

0 comments on commit 619b5df

Please sign in to comment.