[gnome-nibbles/arnaudb/wip/gtk4: 20/62] Adapt a method.



commit e2866339e83d0f74abd59c5ec3a8bc2b1d8a7b27
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon May 25 23:48:13 2020 +0200

    Adapt a method.

 src/gnome-nibbles.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 8f1552d..db4b058 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -114,14 +114,7 @@ private class Nibbles : Gtk.Application
 
     private inline void help_cb ()
     {
-        try
-        {
-            show_uri_on_window (window, "help:gnome-nibbles", get_current_event_time ());
-        }
-        catch (Error e)
-        {
-            warning ("Unable to open help: %s", e.message);
-        }
+        show_uri (window, "help:gnome-nibbles", Gdk.CURRENT_TIME);
     }
 
     private inline void about_cb ()


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