mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
connect signal directly
This commit is contained in:
parent
fec97f1469
commit
51f054ccee
@ -95,9 +95,7 @@ namespace Gala
|
||||
try {
|
||||
screensaver = Bus.get_proxy_sync (BusType.SESSION, "org.gnome.ScreenSaver",
|
||||
"/org/gnome/ScreenSaver");
|
||||
screensaver.active_changed.connect (() => {
|
||||
update_input_area ();
|
||||
});
|
||||
screensaver.active_changed.connect (update_input_area);
|
||||
} catch (Error e) { warning (e.message); }
|
||||
|
||||
var stage = Compositor.get_stage_for_screen (screen) as Clutter.Stage;
|
||||
|
Loading…
Reference in New Issue
Block a user