[five-or-more/arnaudb/wip/gtk4: 5/5] Update a method.



commit f235ec2c6e594a6dbeb487adf8b5fefbc6c2a357
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Apr 23 12:03:44 2020 +0200

    Update a method.

 src/main.vala | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 61e728e..f86f0d3 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -138,14 +138,7 @@ private class FiveOrMoreApp: Gtk.Application
 
     private void help_cb ()
     {
-        try
-        {
-            Gtk.show_uri_on_window (window, "help:five-or-more", Gtk.get_current_event_time ());
-        }
-        catch (GLib.Error e)
-        {
-            GLib.warning ("Unable to open help: %s", e.message);
-        }
+        Gtk.show_uri (window, "help:five-or-more", Gdk.CURRENT_TIME);
     }
 
     private void about_cb ()


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