From 3c7199e2d287fec29373582ed8eb90035e852f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giedrius=20Statkevi=C4=8Dius?= Date: Sat, 27 Jun 2015 15:46:06 +0300 Subject: daemon: use gbooleans instead of guint bit fields Almost everything about bit fields are implementation defined and there is a special type for storing booleans (which these bit fields were used for) so use that instead because of portability --- src/daemon/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 62d7b04..ada9a2d 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -88,8 +88,8 @@ typedef struct { guint id; GtkWindow* nw; Window src_window_xid; - guint has_timeout: 1; - guint paused: 1; + gboolean has_timeout; + gboolean paused; } NotifyTimeout; typedef struct { -- cgit v1.2.1