Commit eae0c456 authored by Andrei Lișiță's avatar Andrei Lișiță 🎮

Fix build warning

Replace Gtk.show_uri with Gtk.show_uri_on_window as suggested in
https://valadoc.org/gtk+-3.0/Gtk.show_uri.html
parent f3f79552
Pipeline #221405 passed with stages
in 6 minutes and 37 seconds
......@@ -263,7 +263,7 @@ public class Window : Hdy.ApplicationWindow {
private void on_help_activate () {
try {
Gtk.show_uri (get_screen (), "help:gnome-clocks", Gtk.get_current_event_time ());
Gtk.show_uri_on_window (this, "help:gnome-clocks", Gtk.get_current_event_time ());
} catch (Error e) {
warning (_("Failed to show help: %s"), e.message);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment