[gtk+/gtk-2-24] Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant



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]