From aceefac2c968b9bd1710c058bbae68952531e14e Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Mon, 11 Dec 2017 16:18:37 -0800 Subject: [PATCH] GTK4: show_uri() is gone Use show_uri_on_window() instead of show_uri() for GTK+4, show_uri() is not available. --- src/unix/utilsx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index 421ae4b55d..50d5dd0c0e 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -2680,7 +2680,7 @@ bool wxDoLaunchDefaultBrowser(const wxLaunchBrowserParams& params) { #ifdef __WXGTK__ -#if GTK_CHECK_VERSION(3,90,0) +#ifdef __WXGTK4__ if (gtk_show_uri_on_window((GtkWindow*)wxGetTopLevelGTK(), params.url.utf8_str(), GDK_CURRENT_TIME, NULL)) {