[five-or-more/arnaudb/gtk3: 12/24] Revert "Update a method."
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/gtk3: 12/24] Revert "Update a method."
- Date: Thu, 22 Oct 2020 15:32:54 +0000 (UTC)
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]