diff options
author | raveit65 <[email protected]> | 2016-06-21 10:11:58 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-24 11:27:16 +0200 |
commit | 7dc240a3fb0bec7d23dd00fea00890d8302b7f92 (patch) | |
tree | d85d993a25d7bb7c99a36b9c1c0dc61aba699fc8 | |
parent | cbb5a9e9867b228611b9bb14cca62bdcccbd6dbf (diff) | |
download | mate-notification-daemon-7dc240a3fb0bec7d23dd00fea00890d8302b7f92.tar.bz2 mate-notification-daemon-7dc240a3fb0bec7d23dd00fea00890d8302b7f92.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 cb5260c..653b27d 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 { |