File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public class Gala.Drawing.StyleManager : Object {
3636
3737 private static GLib . Once<StyleManager > instance;
3838 public static StyleManager get_instance () {
39- return instance. once (() = > { return new StyleManager ();} );
39+ return instance. once (() = > new StyleManager ());
4040 }
4141
4242 public ColorScheme prefers_color_scheme { get ; private set ; default = LIGHT ; }
Original file line number Diff line number Diff line change 77public class Gala.BackgroundCache : Object {
88 private static GLib . Once<BackgroundCache > instance;
99 public static unowned BackgroundCache get_default () {
10- return instance. once (() = > { return new BackgroundCache (); } );
10+ return instance. once (() = > new BackgroundCache ());
1111 }
1212
1313 public signal void file_changed (string filename );
Original file line number Diff line number Diff line change 77public class Gala.PluginManager : Object {
88 private static GLib . Once<PluginManager > instance;
99 public static unowned PluginManager get_default () {
10- return instance. once (() = > { return new PluginManager (); } );
10+ return instance. once (() = > new PluginManager ());
1111 }
1212
1313 public delegate PluginInfo RegisterPluginFunction ();
Original file line number Diff line number Diff line change 1212public class Gala.StaticWindowContainer : ActorTarget {
1313 private static GLib . Once<StaticWindowContainer > instance;
1414 public static StaticWindowContainer get_instance (Meta .Display display ) {
15- return instance. once (() = > { return new StaticWindowContainer (display); } );
15+ return instance. once (() = > new StaticWindowContainer (display));
1616 }
1717
1818 public signal void window_changed (Meta .Window window , bool is_static );
Original file line number Diff line number Diff line change 99public class Gala.WindowDragProvider : Object {
1010 private static GLib . Once<WindowDragProvider > instance;
1111 public static WindowDragProvider get_instance () {
12- return instance. once (() = > { return new WindowDragProvider (); } );
12+ return instance. once (() = > new WindowDragProvider ());
1313 }
1414
1515 public signal void enter (uint64 window_id );
You can’t perform that action at this time.
0 commit comments