[gtk+] Do not use gbooleans to save some bits.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Do not use gbooleans to save some bits.
- Date: Mon, 1 Nov 2010 21:43:44 +0000 (UTC)
commit 37dc91f0120d4c1a04135d754ccbad4c8b8520cf
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]