[Bug 28370] Should watch UPower AboutToSleep signal
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 28 10:42:48 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=28370
--- Comment #5 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2011-09-28 01:42:48 PDT ---
Maybe we should factor out this code:
+ g_signal_emit (self, signals[STATE_CHANGE], 0,
+ priv->connected && priv->awake);
Especially, you check if priv->awake actually changed before firing this
signal, but if priv->connected is still FALSE, you actually didn't change the
state.
The opposite is probably true as well: connected changing but awake being
FALSE.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list