[gnome-mahjongg/arnaudb/modernize-code: 6/6] Replace deprecated method.



commit 49ce68bfc3692cd12fc8cc25b9fe45559c559fcb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Mar 27 19:46:55 2020 +0100

    Replace deprecated method.

 src/gnome-mahjongg.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index a0918c7..460570a 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -722,7 +722,7 @@ public class Mahjongg : Gtk.Application
     {
         try
         {
-            Gtk.show_uri (window.get_screen (), "help:gnome-mahjongg", Gtk.get_current_event_time ());
+            Gtk.show_uri_on_window (window, "help:gnome-mahjongg", Gtk.get_current_event_time ());
         }
         catch (Error e)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]