aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index cbccb04..077f07d 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -106,6 +106,22 @@ public class ArcticaGreeter : Object
}
}
+ /*
+ * Note that we need a way to specify a parameter for the initial instance
+ * creation of the singleton, but also a constructor that takes no
+ * parameters for later usage.
+ *
+ * Making the parameter optional is a good compromise.
+ *
+ * This this parameter is construct-only, initializing it by passing it to
+ * the GObject constructor is both the correct way to do it, and it will
+ * additionally avoid changing it in later calls of our constructor.
+ */
+ public ArcticaGreeter (bool test_mode_ = false)
+ {
+ Object (test_mode: test_mode_);
+ }
+
public void go ()
{
/* Render things after xsettings is ready */
@@ -145,22 +161,6 @@ public class ArcticaGreeter : Object
}
}
- /*
- * Note that we need a way to specify a parameter for the initial instance
- * creation of the singleton, but also a constructor that takes no
- * parameters for later usage.
- *
- * Making the parameter optional is a good compromise.
- *
- * This this parameter is construct-only, initializing it by passing it to
- * the GObject constructor is both the correct way to do it, and it will
- * additionally avoid changing it in later calls of our constructor.
- */
- public ArcticaGreeter (bool test_mode_ = false)
- {
- Object (test_mode: test_mode_);
- }
-
public string? get_state (string key)
{
try