[gnome-klotski/arnaudb/wip/gtk4] Update a method.



commit 1027984531d3dc59d735bca594e893ae6cb171f8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Apr 23 08:54:44 2020 +0200

    Update a method.

 src/gnome-klotski.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index a0e0357..35dc71c 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -118,14 +118,7 @@ private class Klotski : Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-klotski", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Failed to show help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-klotski", Gdk.CURRENT_TIME);
     }
 
     private void about_cb ()


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