[gtk+] Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant



commit 63c7701ca35d98b650ee419b2ff8b7336dee6f04
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 28 19:24:29 2011 -0500

    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 4dacb7d..1d299d3 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -5106,7 +5106,7 @@ gtk_entry_paste_clipboard (GtkEntry *entry)
   GtkEntryPrivate *priv = entry->priv;
 
   if (priv->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]