[five-or-more/arnaudb/gtk3: 12/24] Revert "Update a method."




commit 9b96f7c655e512ba3296505a6a476f0ea858c460
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Oct 22 17:28:31 2020 +0200

    Revert "Update a method."
    
    This reverts commit 3b933841cc959e62a052cf80d45528508da92b2e.

 src/main.vala | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/main.vala b/src/main.vala
index a1ebdab..3532771 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -78,7 +78,14 @@ private class FiveOrMoreApp: Gtk.Application
 
     private void help_cb ()
     {
-        Gtk.show_uri (window, "help:five-or-more", Gdk.CURRENT_TIME);
+        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);
+        }
     }
 
     private void about_cb ()


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