diff options
author | Benjamin Otte <otte@redhat.com> | 2011-02-01 18:11:35 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-02-01 18:51:57 +0100 |
commit | 44c02fcbb19da4a270622cdd73ed85f19c9f8fbe (patch) | |
tree | 9f8939339030c369d46b878f8f50ad9717dba10c /gdk/gdkwindowimpl.h | |
parent | 9210347600c640becebe19ac12de5bdf332acaa5 (diff) | |
download | gtk+-44c02fcbb19da4a270622cdd73ed85f19c9f8fbe.tar.gz |
API: gdk: Change get_drag_window() API
The previous function gdk_drag_get_protocol_for_display() took native
window handles, so it had to be changed. Because it didn't do what it
was named to do (it didn't return a protocol even though it was named
get_protocol) and because it doesn't operate on the display anymore but
on the actual window, it's now called gdk_window_get_drag_protocol().
Diffstat (limited to 'gdk/gdkwindowimpl.h')
-rw-r--r-- | gdk/gdkwindowimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index fd9add2de0..e088813456 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -248,6 +248,8 @@ struct _GdkWindowImplClass void (* set_composited) (GdkWindow *window, gboolean composited); void (* destroy_notify) (GdkWindow *window); + GdkDragProtocol (* get_drag_protocol) (GdkWindow *window, + GdkWindow **target); void (* register_dnd) (GdkWindow *window); GdkDragContext * (*drag_begin) (GdkWindow *window, GdkDevice *device, |