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




commit 5cb92e526fe76c57db20ae52d084dd028cfea6ba
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 6333d82..8c2d18d 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -902,14 +902,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]