[lightsoff/arnaudb/wip/gtk4: 3/28] Update a method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff/arnaudb/wip/gtk4: 3/28] Update a method.
- Date: Sat, 28 Nov 2020 14:29:47 +0000 (UTC)
commit 5be193fe806ddc682879599b9ccd3271b24770ba
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Oct 26 16:54:39 2020 +0100
Update a method.
src/lightsoff.vala | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index eab0ff0..232fdf1 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -109,16 +109,9 @@ private class LightsOff : Gtk.Application
window.present ();
}
- private void help_cb ()
+ private inline void help_cb ()
{
- try
- {
- show_uri_on_window (window, "help:lightsoff", get_current_event_time ());
- }
- catch (Error e)
- {
- warning ("Failed to show help: %s", e.message);
- }
+ show_uri (window, "help:lightsoff", Gdk.CURRENT_TIME);
}
private void quit_cb ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]