[gnome-nibbles/arnaudb/wip/gtk4: 140/188] Adapt a method.




commit 1255d3bc050d88ad90d7d0683c16ff413e396ae8
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 960c653..76e8782 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -271,14 +271,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]