[lightsoff/arnaudb/save-state: 4/5] Replace a deprecated method.




commit 85575d92799c13eb16a3d524f4a979f353458e21
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Oct 28 16:54:52 2020 +0100

    Replace a deprecated method.

 src/lightsoff.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index 1a1546e..414566f 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -107,7 +107,7 @@ private class LightsOff : Gtk.Application
     {
         try
         {
-            show_uri (window.get_screen (), "help:lightsoff", get_current_event_time ());
+            show_uri_on_window (window, "help:lightsoff", get_current_event_time ());
         }
         catch (Error e)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]