From 7dc240a3fb0bec7d23dd00fea00890d8302b7f92 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 21 Jun 2016 10:11:58 +0200 Subject: 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 --- src/daemon/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/daemon') 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 { -- cgit v1.2.1