[five-or-more/arnaudb/use-event-controllers: 7/7] Replace deprecated method.



commit 4268d87acbfcdcf379f88cdd6415ecd0facfa3eb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Mar 12 23:27:37 2020 +0100

    Replace deprecated method.

 src/main.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/main.vala b/src/main.vala
index b7e4f24..7436a68 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -137,7 +137,7 @@ private class FiveOrMoreApp: Gtk.Application
     {
         try
         {
-            Gtk.show_uri (window.get_screen (), "help:five-or-more", Gtk.get_current_event_time ());
+            Gtk.show_uri_on_window (window, "help:five-or-more", Gtk.get_current_event_time ());
         }
         catch (GLib.Error e)
         {


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