[gtk+/wip/paint-stack-cleanup: 2/3] gdkwindow: Use bitfields for	packing storage
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+/wip/paint-stack-cleanup: 2/3] gdkwindow: Use bitfields for	packing storage
- Date: Sat, 21 Jun 2014 15:18:42 +0000 (UTC)
commit a02ca0e5f909659a6d94baa0cf89dfeed0e1d4db
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Jun 21 11:01:00 2014 -0400
    gdkwindow: Use bitfields for packing storage
    
    Gotta save those 4 bytes.
 gdk/gdkinternals.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 331e6d9..eacd97b 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -208,8 +208,8 @@ struct _GdkWindow
   struct {
     cairo_region_t *region;
     cairo_surface_t *surface;
-    gboolean surface_needs_composite;
-    gboolean cleared_to_background;
+    guint surface_needs_composite : 1;
+    guint cleared_to_background : 1;
   } current_paint;
 
   cairo_region_t *update_area;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]