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




commit 35773705d4a47b84de3e8f18ea7b741dabcd3ac1
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 602ed37..320295b 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -737,14 +737,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]