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




commit 49d395cc91d561342ab1122640321b42f1b6a8fd
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 91acb20..dbf0667 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]