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




commit 4393ff1d1e632d5578fc3b2760d7d6a89a0da02b
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 d78a619..0666fc8 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -1014,14 +1014,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]