[mutter/wip/frame-synchronization: 56/69] MetaWindowActor: Use guint for bitfields
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/frame-synchronization: 56/69] MetaWindowActor: Use guint for bitfields
- Date: Fri, 16 Nov 2012 19:12:06 +0000 (UTC)
commit fbb24b4858454cbce4c5b3782f0962bf33ec83e7
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 e7eadf8..5561f56 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -26,9 +26,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]