[five-or-more/arnaudb/wip/gtk4: 30/37] Update a method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/wip/gtk4: 30/37] Update a method.
- Date: Tue, 4 Aug 2020 15:17:06 +0000 (UTC)
commit b856cd9a361e24568839ba0d7d5a6f504e96a620
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]