Commit c829fad9 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

ui: Don't use 'construct set' where possible

If a property is not going to change, just use 'construct' instead.
parent cf1d6bf8
Pipeline #106832 passed with stages
in 18 minutes and 15 seconds
......@@ -4,7 +4,7 @@
private class Games.CollectionBox : Gtk.Box {
public signal void game_activated (Game game);
public ListModel collection { get; construct set; }
public ListModel collection { get; construct; }
public bool search_mode { get; set; }
public bool loading_notification { get; set; }
......
......@@ -32,7 +32,7 @@ private class Games.CollectionView : Object, UiView {
}
}
public Gtk.Window window { get; construct set; }
public Gtk.Window window { get; construct; }
public ListModel collection { get; construct; }
public bool loading_notification { get; set; }
......
......@@ -36,7 +36,7 @@ private class Games.DisplayView : Object, UiView {
}
}
public Gtk.Window window { get; construct set; }
public Gtk.Window window { get; construct; }
public bool is_fullscreen { get; set; }
......
......@@ -5,7 +5,6 @@ private class Games.PreferencesPage : Gtk.Bin, Gtk.Buildable {
public PreferencesSubpage subpage { get; protected set; }
public string title { get; construct set; }
[GtkChild]
private Gtk.Label error_label;
[GtkChild]
......
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