diff options
author | Benjamin Otte <otte@redhat.com> | 2011-02-01 17:22:04 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-02-01 18:51:57 +0100 |
commit | 5bc04bc07be16732e0ec2ddecbb0fcfc46a929c7 (patch) | |
tree | 4389ed64b931f6be59a4040350607ce2998094a3 /gdk/gdkselection.c | |
parent | c2a5d715d5cded5eeb0f284208d49c9e8773ed1b (diff) | |
download | gtk+-5bc04bc07be16732e0ec2ddecbb0fcfc46a929c7.tar.gz |
API: gdk: Make GdkEventSelection.requestor a GdkWindow
instead of a GdkNativeWindow. Also change gdk_selection_notify() API to
take a GdkWindow to match this change.
Diffstat (limited to 'gdk/gdkselection.c')
-rw-r--r-- | gdk/gdkselection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c index 3e29a4bcfe..23c2cb4243 100644 --- a/gdk/gdkselection.c +++ b/gdk/gdkselection.c @@ -126,13 +126,13 @@ gdk_selection_owner_get (GdkAtom selection) * Sends a response to SelectionRequest event. */ void -gdk_selection_send_notify (GdkNativeWindow requestor, +gdk_selection_send_notify (GdkWindow *requestor, GdkAtom selection, GdkAtom target, GdkAtom property, guint32 time) { - gdk_selection_send_notify_for_display (gdk_display_get_default (), + gdk_selection_send_notify_for_display (gdk_window_get_display (requestor), requestor, selection, target, property, time); } @@ -213,7 +213,7 @@ gdk_selection_owner_get_for_display (GdkDisplay *display, */ void gdk_selection_send_notify_for_display (GdkDisplay *display, - GdkNativeWindow requestor, + GdkWindow *requestor, GdkAtom selection, GdkAtom target, GdkAtom property, |