[mutter] MetaWindowActor: Use guint for bitfields
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] MetaWindowActor: Use guint for bitfields
- Date: Wed, 13 Feb 2013 14:49:50 +0000 (UTC)
commit 3abaf506a6279125d45cfbd64f09f5bc6d9342b0
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]