[gnome-mines/arnaudb/wip/gtk4: 36/36] Update a method.



commit 5a5eb5e781ed8073624f8c06c3e7c9262b996c94
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Apr 26 14:57:29 2020 +0200

    Update a method.

 src/gnome-mines.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 4bc1a12..39694f3 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -915,14 +915,7 @@ public class Mines : Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-mines", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Failed to show help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-mines", Gdk.CURRENT_TIME);
     }
 
     public static int main (string[] args)


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