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




commit 8d83076c48c19a9f3578c69030d13a8850db2ec7
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu May 7 01:25:57 2020 +0200

    Update a method.

 src/klotski-window.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/klotski-window.vala b/src/klotski-window.vala
index 086330b..81b1afb 100644
--- a/src/klotski-window.vala
+++ b/src/klotski-window.vala
@@ -1102,14 +1102,7 @@ private class KlotskiWindow : ApplicationWindow
 
     private inline void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (this, "help:gnome-klotski", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Failed to show help: %s", e.message);
-        }
+        show_uri (this, "help:gnome-klotski", Gdk.CURRENT_TIME);
     }
 
     private inline void about_cb ()


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