summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-21 10:11:58 +0200
committerraveit65 <[email protected]>2016-06-24 11:27:16 +0200
commit7dc240a3fb0bec7d23dd00fea00890d8302b7f92 (patch)
treed85d993a25d7bb7c99a36b9c1c0dc61aba699fc8
parentcbb5a9e9867b228611b9bb14cca62bdcccbd6dbf (diff)
downloadmate-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.c4
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 {