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



commit 46fd097f9121b3811816edf3f2c625b09cc4950b
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 8d1d769..32cf689 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -901,14 +901,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]