diff options
author | Giedrius Statkevičius <[email protected]> | 2015-06-27 15:46:06 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-09 12:26:56 +0200 |
commit | 3c7199e2d287fec29373582ed8eb90035e852f82 (patch) | |
tree | a2b3b1c5dc0d9b0f81ec865f2d320b59d8041874 /src/daemon | |
parent | c8717310ca41b783f71c55ead7e57dcd9dc5625e (diff) | |
download | mate-notification-daemon-3c7199e2d287fec29373582ed8eb90035e852f82.tar.bz2 mate-notification-daemon-3c7199e2d287fec29373582ed8eb90035e852f82.tar.xz |
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
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/daemon.c | 4 |
1 files 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 { |