[gnome-chess/arnaudb/wip/gtk4: 45/51] Update a method.




commit ab6b5b9846c322c5d817a3777dfb2e47fab91979
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]