diff options
author | Ray Strode <rstrode@redhat.com> | 2015-01-29 15:58:16 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-02-16 22:06:23 -0500 |
commit | 076a7572b14cb922b88f701bb958c6e9314a0163 (patch) | |
tree | 6f84f331447775f3092d35897f90cad45d8b7762 | |
parent | fe69fcede247abb278bd0f71caabd93d0ecf9c0f (diff) | |
download | gdm-076a7572b14cb922b88f701bb958c6e9314a0163.tar.gz |
display: use bitfield for booleans in priv structure
We're going to be adding more than a couple, so
switch to a bitfield.
-rw-r--r-- | daemon/gdm-display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c index cab096bb..b7638512 100644 --- a/daemon/gdm-display.c +++ b/daemon/gdm-display.c @@ -64,7 +64,6 @@ struct GdmDisplayPrivate gsize x11_cookie_size; GdmDisplayAccessFile *access_file; - gboolean is_local; guint finish_idle_id; GdmSlave *slave; @@ -74,8 +73,9 @@ struct GdmDisplayPrivate GdmDBusDisplay *display_skeleton; GDBusObjectSkeleton *object_skeleton; - gboolean is_initial; - gboolean allow_timed_login; + guint is_local : 1; + guint is_initial : 1; + guint allow_timed_login : 1; }; enum { |