[gnome-chess/arnaudb/wip/gtk4: 52/54] Update a method.




commit ad3d2df25a925b9f001e952969a071a12c31fa11
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 947243e..2f8c1a9 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -2217,14 +2217,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]