summaryrefslogtreecommitdiff
path: root/src/contacts-app.vala
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2021-01-17 16:34:23 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2021-01-17 16:34:23 +0100
commit5907eea3a77933b9e1d2d1ce2fd15e862bff5c6e (patch)
treeb8a71966932a999925c1ee67f088a80e2705adde /src/contacts-app.vala
parent65656a15a73cf1ade58fe15a9abfbd6bde93beb4 (diff)
downloadgnome-contacts-5907eea3a77933b9e1d2d1ce2fd15e862bff5c6e.tar.gz
Rename Window to MainWindow
The "Window" name was very confusing, as we needed to disambiguate between `Contacts.Window`, `Gtk.Window` and `Hdy.Window` each time. "Window" is also not an ideal name, as it implies that it's the only possible window available in Contacts, or some parent class, which is not true.
Diffstat (limited to 'src/contacts-app.vala')
-rw-r--r--src/contacts-app.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 082449a..b1adaf4 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -22,7 +22,7 @@ public class Contacts.App : Gtk.Application {
private Store contacts_store;
- private Window window;
+ private MainWindow window;
private const GLib.ActionEntry[] action_entries = {
{ "quit", quit },
@@ -207,7 +207,7 @@ public class Contacts.App : Gtk.Application {
}
private void create_window () {
- this.window = new Contacts.Window (this.settings, this, this.contacts_store);
+ this.window = new MainWindow (this.settings, this, this.contacts_store);
show_contact_list ();
}