]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/url.cpp
Suppress GTK warnings and errors
[xonotic/netradiant.git] / radiant / url.cpp
index 425948f8ca5bf00d426a1a49e9294090208c4391..f49cb88664623315c2b08c51e9255d8e5f1fdd94 100644 (file)
@@ -57,6 +57,6 @@ void OpenURL( const char *url ){
        // let's put a little comment
        globalOutputStream() << "OpenURL: " << url << "\n";
        if ( !open_url( url ) ) {
-               MainFrame_getWindow().alert( "Failed to launch browser!" );
+               ui::alert( MainFrame_getWindow(), "Failed to launch browser!" );
        }
 }