[gnome-mahjongg/arnaudb/wip/gtk4: 30/30] Update a method.




commit 1a79f727dcec5748502ea597597958ba2ce517b9
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Apr 23 11:10:36 2020 +0200

    Update a method.

 src/gnome-mahjongg.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index 1e8dfa8..6b9d43a 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -738,14 +738,7 @@ public class Mahjongg : Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-mahjongg", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Failed to show help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-mahjongg", Gdk.CURRENT_TIME);
     }
 
     private void load_maps ()


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