[gtk+/gtk-2-24] Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant
- Date: Mon, 14 Mar 2011 14:36:22 +0000 (UTC)
commit 986289431725f15ab8f3e688df4f8cf4e679cefa
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 14 10:18:35 2011 -0400
Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant
gtk/gtkentry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index dd509c2..fd2ebdb 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -5088,7 +5088,7 @@ static void
gtk_entry_paste_clipboard (GtkEntry *entry)
{
if (entry->editable)
- gtk_entry_paste (entry, GDK_NONE);
+ gtk_entry_paste (entry, GDK_SELECTION_CLIPBOARD);
else
gtk_widget_error_bell (GTK_WIDGET (entry));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]