[swell-foop/arnaudb/code-improvements: 9/9] Replace deprecated method.



commit ba7429bb55c545577f09dfe57a5cc94ffd490c0c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat May 2 17:37:26 2020 +0200

    Replace deprecated method.

 src/swell-foop.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index c4173a7..d5044f6 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -193,7 +193,7 @@ public class SwellFoop : Gtk.Application
     {
         try
         {
-            Gtk.show_uri (window.get_screen (), "help:swell-foop", Gtk.get_current_event_time ());
+            Gtk.show_uri_on_window (window, "help:swell-foop", Gtk.get_current_event_time ());
         }
         catch (Error e)
         {


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