fix warning
This commit is contained in:
parent
0c549980db
commit
d4c219bff6
1 changed files with 5 additions and 5 deletions
|
@ -6,8 +6,8 @@ namespace Deskcandy {
|
|||
|
||||
private Gtk.Window window;
|
||||
private Gtk.Window desktop_window;
|
||||
|
||||
public BaseCandy[] candies { get; private set; }
|
||||
private BaseCandy[] _candies;
|
||||
|
||||
public bool enabled { get; set; }
|
||||
|
||||
public Application() {
|
||||
|
@ -18,15 +18,15 @@ namespace Deskcandy {
|
|||
this.add_action(toggle_enabled);
|
||||
this.set_up_actions();
|
||||
|
||||
this.candies = { new XScreensaver(), new Mpv() };
|
||||
this._candies = { new XScreensaver(), new Mpv() };
|
||||
}
|
||||
|
||||
private async void initialize_async() {
|
||||
foreach (var candy in this.candies) {
|
||||
foreach (var candy in this._candies) {
|
||||
yield candy.initialize();
|
||||
}
|
||||
|
||||
initialized(this.candies[1]);
|
||||
initialized(this._candies[1]);
|
||||
}
|
||||
|
||||
private void on_toggle_enabled() {
|
||||
|
|
Loading…
Reference in a new issue