aboutsummaryrefslogtreecommitdiff
path: root/src/background.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/background.vala')
-rw-r--r--src/background.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/background.vala b/src/background.vala
index 9a77047..18bf169 100644
--- a/src/background.vala
+++ b/src/background.vala
@@ -778,7 +778,8 @@ public class Background : Gtk.Fixed
{
notify_property ("average-color");
- if (!ArcticaGreeter.singleton.test_mode)
+ var greeter = new ArcticaGreeter ();
+ if (!greeter.test_mode)
{
var rgba = current.average_color.to_string ();
var root = get_screen ().get_root_window ();