aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2023-02-22 09:06:26 +0100
committerMihai Moldovan <ionic@ionic.de>2023-02-22 09:06:31 +0100
commit30035fe8aa2d388b2493cafc4f5b17755b99a0f1 (patch)
treee70a2545e07aacca8bf6303a1af417512f6303eb /README
parenta008c6c1e4f079332e69c02914612ce586a95ae0 (diff)
downloadarctica-greeter-30035fe8aa2d388b2493cafc4f5b17755b99a0f1.tar.gz
arctica-greeter-30035fe8aa2d388b2493cafc4f5b17755b99a0f1.tar.bz2
arctica-greeter-30035fe8aa2d388b2493cafc4f5b17755b99a0f1.zip
src/arctica-greeter.vala: fix test mode.
32d28d7bf2646fc7a0008937034246fcc96dbc8a broke test mode by changing the ArcticaGreeter class to a proper SingleInstance vala class. While meant well, this created deadlocks, especially when using test mode, since other code being called from the ArcticaGreeter constructor tries to acquire references to ArcticaGreeter, which is still locked at that point in time. Fortunately, GObject has the constructed () function, that is almost never used within vala, but still works and is called after the constructor () (or, in vala parlance, construct), so we can move calling functions that might require a constructed ArcticaGreeter to constructed (). Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/42
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions