[gnome-sudoku/arnaudb/wip/gtk4: 37/47] Update a method.



commit 3a6d0ab6b990368219195ea5dad14bbec77d7b28
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Apr 22 17:23:37 2020 +0200

    Update a method.

 src/gnome-sudoku.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 0c12fab..6eb11fd 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -602,14 +602,7 @@ public class Sudoku : Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-sudoku", get_current_event_time ());
-        }
-        catch (GLib.Error e)
-        {
-            GLib.warning ("Unable to open help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-sudoku", Gdk.CURRENT_TIME);
     }
 
     private const string[] authors = { "Robert Ancell <robert ancell gmail com>",


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