[four-in-a-row/arnaudb/wip/gtk4: 22/27] Update a method.



commit 15628041f26db4898663919f39f375fc9aee4dea
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Apr 27 13:12:59 2020 +0200

    Update a method.

 src/four-in-a-row.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index caa6d68..e806603 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -1176,14 +1176,7 @@ private class FourInARow : Gtk.Application
 
     private inline void on_help_contents (/* SimpleAction action, Variant? parameter */)
     {
-        try
-        {
-            show_uri_on_window (window, "help:four-in-a-row", get_current_event_time ());
-        }
-        catch (Error error)
-        {
-            warning ("Failed to show help: %s", error.message);
-        }
+        show_uri (window, "help:four-in-a-row", Gdk.CURRENT_TIME);
     }
 
     /*\


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