[four-in-a-row/arnaudb/wip/gtk4: 25/42] Update a method.



commit bfe746ca2f65443ca41488b241a30f6bf1d781b2
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 67f05a5..d67d300 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -1187,14 +1187,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]