diff options
author | raveit65 <[email protected]> | 2016-06-21 10:11:58 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-30 19:38:14 +0200 |
commit | 18e9013805e77689e2fdf87ab1854d9600207e42 (patch) | |
tree | f0d69ed64ee01f1ff6b8d9883849b9a7c315a78c | |
parent | 21be998cd47c716c9d814944316c7865d6e8a61a (diff) | |
download | mate-notification-daemon-18e9013805e77689e2fdf87ab1854d9600207e42.tar.bz2 mate-notification-daemon-18e9013805e77689e2fdf87ab1854d9600207e42.tar.xz |
Save some RAM in NotifyTimeout
By using a bit, rather than a byte for gbooleans.
https://bugzilla.gnome.org/show_bug.cgi?id=622556
taken from:
https://git.gnome.org/browse/notification-daemon/commit/?id=c43d398
-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 8d941f2..203deef 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -86,8 +86,8 @@ typedef struct { guint id; GtkWindow* nw; Window src_window_xid; - gboolean has_timeout; - gboolean paused; + guint has_timeout : 1; + guint paused : 1; } NotifyTimeout; typedef struct { |