[gnome-sudoku/arnaudb/wip/gtk4: 30/33] Update a method.



commit 7d33d978d53e7a5963e3ace39bbf0f4bd0a6b65c
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 848888d..86dd159 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -606,14 +606,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]