summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r--gtk/gtkselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 4f93f6b65..0e670919a 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -1439,7 +1439,7 @@ gtk_selection_property_notify (GtkWidget *widget,
#if defined(GDK_WINDOWING_WIN32) || defined(GDK_WINDOWING_X11)
if ((event->state != GDK_PROPERTY_NEW_VALUE) || /* property was deleted */
- (event->atom != gdk_selection_property)) /* not the right property */
+ (event->atom != gdk_atom_intern ("GDK_SELECTION", FALSE))) /* not the right property */
#endif
return FALSE;