[gtk+/treeview-refactor] Do not use gbooleans to save some bits.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Do not use gbooleans to save some bits.
- Date: Tue, 2 Nov 2010 03:02:44 +0000 (UTC)
commit bea2487d837a2881931cef643f23ba72b72783e9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Nov 1 22:42:15 2010 +0100
Do not use gbooleans to save some bits.
gtk/gtktextbuffer.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 0450f48..7602b9d 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -76,10 +76,10 @@ typedef struct _ClipboardRequest ClipboardRequest;
struct _ClipboardRequest
{
GtkTextBuffer *buffer;
- gboolean interactive;
- gboolean default_editable;
- gboolean is_clipboard;
- gboolean replace_selection;
+ guint interactive : 1;
+ guint default_editable : 1;
+ guint is_clipboard : 1;
+ guint replace_selection : 1;
};
enum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]