Mercurial > pidgin.yaz
changeset 31433:fc6ecc8f1b34
I think we can save some memory by making these booleans into a single
bitfield variable.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 02 Dec 2010 05:21:50 +0000 |
parents | 1ab50afb7925 |
children | 7bf659dbacee |
files | libpurple/protocols/msn/session.h |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.h Thu Dec 02 05:16:27 2010 +0000 +++ b/libpurple/protocols/msn/session.h Thu Dec 02 05:21:50 2010 +0000 @@ -79,12 +79,12 @@ MsnLoginStep login_step; /**< The current step in the login process. */ - gboolean connected; - gboolean logged_in; /**< A temporal flag to ignore local buddy list adds. */ + gboolean connected:1; + gboolean logged_in:1; /**< A temporal flag to ignore local buddy list adds. */ + gboolean destroying:1; /**< A flag that states if the session is being destroyed. */ + gboolean http_method:1; int adl_fqy; /**< A count of ADL/FQY so status is only changed once. */ guint login_timeout; /**< Timeout to force status change if ADL/FQY fail. */ - gboolean destroying; /**< A flag that states if the session is being destroyed. */ - gboolean http_method; MsnNotification *notification; MsnNexus *nexus;