[gtk+] Normalize boolean.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Normalize boolean.
- Date: Mon, 1 Nov 2010 22:05:02 +0000 (UTC)
commit d8d73163fd148b7e8c4988e9aa0f496cddd6e657
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Nov 1 22:59:21 2010 +0100
Normalize boolean.
gtk/gtktextbuffer.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 7602b9d..f1cd6f5 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -78,7 +78,6 @@ struct _ClipboardRequest
GtkTextBuffer *buffer;
guint interactive : 1;
guint default_editable : 1;
- guint is_clipboard : 1;
guint replace_selection : 1;
};
@@ -3784,7 +3783,7 @@ gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer,
data->buffer = g_object_ref (buffer);
data->interactive = TRUE;
- data->default_editable = default_editable;
+ data->default_editable = !!default_editable;
/* When pasting with the cursor inside the selection area, you
* replace the selection with the new text, otherwise, you
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]