[five-or-more/arnaudb/wip/gtk4: 69/80] Update a method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [five-or-more/arnaudb/wip/gtk4: 69/80] Update a method.
- Date: Sun, 25 Oct 2020 18:51:47 +0000 (UTC)
commit 89bf06df3ba0a0197960a35eb390af8c4d6eb692
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 3532771..a1ebdab 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -78,14 +78,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]