[gnome-mahjongg/arnaudb/wip/gtk4: 3/23] Replace deprecated method.



commit 088483c6b684dd3bc71490cbf0f2eb5fd15fc8e5
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]