[gnome-chess/arnaudb/wip/gtk4: 21/27] Update a method.




commit 1350956d99a58971ba49bc7deb1ecc018f2cbf6c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Apr 23 11:40:20 2020 +0200

    Update a method.

 src/gnome-chess.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 0ea572e..36badd4 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -2215,14 +2215,7 @@ Copyright © 2015–2016 Sahil Sareen""";
 
     public void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-chess", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Unable to open help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-chess", Gdk.CURRENT_TIME);
     }
 
     private const string[] authors = { "Robert Ancell <robert ancell gmail com>", null };


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