[gnome-tetravex/arnaudb/wip/gtk4: 32/32] Update a method.



commit 985eb507ff1fcf2429cdbcb6b8934f0b606552c3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Apr 23 12:09:56 2020 +0200

    Update a method.

 src/gnome-tetravex.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index ea31c00..2562f52 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -1030,14 +1030,7 @@ private class Tetravex : Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-tetravex", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Failed to show help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-tetravex", Gdk.CURRENT_TIME);
     }
 
     private void about_cb ()


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