Deprecated gdk_drag_find_window and gdk_drag_get_protocol

This commit is contained in:
Matthias Clasen 2010-12-21 08:43:33 -05:00
parent a88f8e4c57
commit 7b1c38b57c
3 changed files with 10 additions and 0 deletions

View File

@ -563,10 +563,12 @@ gdk_drag_context_list_targets
gdk_drag_context_get_source_window
gdk_drag_context_get_dest_window
gdk_drag_context_get_protocol
#ifndef GDK_DISABLE_DEPRECATED
gdk_drag_find_window
gdk_drag_get_protocol
#endif
#endif
#endif
#if IN_HEADER(__GDK_DRAWABLE_H__)
#if IN_FILE(__GDK_DRAW_C__)

View File

@ -45,6 +45,8 @@
*
* This function is called by the drag source to obtain the
* @dest_window and @protocol parameters for gdk_drag_motion().
*
* Deprecated: 2.24: Use gdk_drag_find_window_for_screen() instead.
**/
void
gdk_drag_find_window (GdkDragContext *context,
@ -69,6 +71,8 @@ gdk_drag_find_window (GdkDragContext *context,
* Return value: the windowing system specific id for the window where
* the drop should happen. This may be @xid or the id of a proxy
* window, or zero if @xid doesn't support Drag and Drop.
*
* Deprecated: 2.24: Use gdk_drag_get_protocol_for_display() instead
**/
GdkNativeWindow
gdk_drag_get_protocol (GdkNativeWindow xid,

View File

@ -104,7 +104,9 @@ struct _GdkDragContextClass {
/* Drag and Drop */
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
#if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION
GdkDragContext * gdk_drag_context_new (void);
#endif
GList *gdk_drag_context_list_targets (GdkDragContext *context);
GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context);
@ -152,6 +154,7 @@ void gdk_drag_find_window_for_screen (GdkDragContext *context,
GdkDragProtocol *protocol);
#ifndef GDK_MULTIHEAD_SAFE
#ifndef GDK_DISABLE_DEPRECATED
GdkNativeWindow gdk_drag_get_protocol (GdkNativeWindow xid,
GdkDragProtocol *protocol);
@ -161,6 +164,7 @@ void gdk_drag_find_window (GdkDragContext *context,
gint y_root,
GdkWindow **dest_window,
GdkDragProtocol *protocol);
#endif /* GDK_DISABLE_DEPRECATED */
#endif /* GDK_MULTIHEAD_SAFE */
gboolean gdk_drag_motion (GdkDragContext *context,