[four-in-a-row/arnaudb/wip/gtk4: 74/92] Update a method.




commit f8229fe92121b8de964c3533fcd5b382ac655c29
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 4bc826f..5719469 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]