[mutter/wip/frame-synchronization: 107/121] MetaWindowActor: Use guint for bitfields



commit f6c3e48aa5b0e7d6874379fbf2621a36b7133fa2
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Wed Nov 9 15:40:38 2011 -0500

    MetaWindowActor: Use guint for bitfields
    
    A 1-bit boolean (int) bitfield has the values 0 and -1. Use
    guint instead for bitfield values.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685463

 src/compositor/compositor-private.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index 125ffbf..0926601 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -25,9 +25,9 @@ struct _MetaCompositor
 
   MetaPlugin     *modal_plugin;
 
-  gboolean        show_redraw : 1;
-  gboolean        debug       : 1;
-  gboolean        no_mipmaps  : 1;
+  guint           show_redraw : 1;
+  guint           debug       : 1;
+  guint           no_mipmaps  : 1;
 };
 
 struct _MetaCompScreen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]