[connections] main, onboarding: Ensure type of onboarding dialog in main
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connections] main, onboarding: Ensure type of onboarding dialog in main
- Date: Wed, 13 Oct 2021 07:54:38 +0000 (UTC)
commit 94ac786f018cf76eb8ed567895df1e159f9e5b5f
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Oct 13 09:50:08 2021 +0200
main, onboarding: Ensure type of onboarding dialog in main
Instead of holding a reference in the dialog source code.
src/main.vala | 2 ++
src/onboarding-dialog.vala | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index c9ef251..227ce02 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -26,6 +26,8 @@ int main (string[] args) {
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (GETTEXT_PACKAGE);
+ typeof (Connections.OnboardingDialogPage).ensure ();
+
var application = new Connections.Application ();
var exit_status = application.run (args);
diff --git a/src/onboarding-dialog.vala b/src/onboarding-dialog.vala
index e3b2f29..bd6780c 100644
--- a/src/onboarding-dialog.vala
+++ b/src/onboarding-dialog.vala
@@ -28,8 +28,6 @@ namespace Connections {
[GtkChild]
private unowned Carousel paginator;
[GtkChild]
- private unowned OnboardingDialogPage homepage;
- [GtkChild]
private unowned Button go_back_button;
[GtkChild]
private unowned Button go_next_button;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]