[gnome-mahjongg/arnaudb/wip/gtk4] Update a method.



commit 29205e8e9632b645f02210a880c6fbdb36409063
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Apr 23 11:10:36 2020 +0200

    Update a method.

 src/gnome-mahjongg.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index ded7d99..9204f3a 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -737,14 +737,7 @@ public class Mahjongg : Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-mahjongg", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Failed to show help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-mahjongg", Gdk.CURRENT_TIME);
     }
 
     private void load_maps ()


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