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




commit c11db4285e74e3fad041ee434d2a457eabb6b37f
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 aa699fe..934e617 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -740,14 +740,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]