forked from AuroraMiddleware/gtk
Drop api that is only for unmanaged dnd
These functions are not needed as public api anymore.
This commit is contained in:
parent
e74c46fc4e
commit
8b1b9f8c55
@ -840,15 +840,12 @@ gdk_cursor_get_type
|
||||
GdkDragContext
|
||||
GdkDragCancelReason
|
||||
gdk_drag_get_selection
|
||||
gdk_drag_abort
|
||||
gdk_drop_reply
|
||||
gdk_drag_drop
|
||||
gdk_drag_drop_done
|
||||
gdk_drag_find_window
|
||||
gdk_drag_begin
|
||||
gdk_drag_begin_for_device
|
||||
gdk_drag_begin_from_point
|
||||
gdk_drag_motion
|
||||
gdk_drop_finish
|
||||
GdkDragProtocol
|
||||
GdkDragAction
|
||||
|
15
gdk/gdkdnd.c
15
gdk/gdkdnd.c
@ -416,7 +416,7 @@ gdk_drag_status (GdkDragContext *context,
|
||||
GDK_DRAG_CONTEXT_GET_CLASS (context)->drag_status (context, action, time_);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* gdk_drag_motion:
|
||||
* @context: a #GdkDragContext
|
||||
* @dest_window: the new destination window, obtained by
|
||||
@ -433,9 +433,6 @@ gdk_drag_status (GdkDragContext *context,
|
||||
*
|
||||
* This function is called by the drag source.
|
||||
*
|
||||
* This function does not need to be called in managed drag and drop
|
||||
* operations. See gdk_drag_context_manage_dnd() for more information.
|
||||
*
|
||||
* Returns:
|
||||
*/
|
||||
gboolean
|
||||
@ -461,7 +458,7 @@ gdk_drag_motion (GdkDragContext *context,
|
||||
time_);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* gdk_drag_abort:
|
||||
* @context: a #GdkDragContext
|
||||
* @time_: the timestamp for this operation
|
||||
@ -469,9 +466,6 @@ gdk_drag_motion (GdkDragContext *context,
|
||||
* Aborts a drag without dropping.
|
||||
*
|
||||
* This function is called by the drag source.
|
||||
*
|
||||
* This function does not need to be called in managed drag and drop
|
||||
* operations. See gdk_drag_context_manage_dnd() for more information.
|
||||
*/
|
||||
void
|
||||
gdk_drag_abort (GdkDragContext *context,
|
||||
@ -482,7 +476,7 @@ gdk_drag_abort (GdkDragContext *context,
|
||||
GDK_DRAG_CONTEXT_GET_CLASS (context)->drag_abort (context, time_);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* gdk_drag_drop:
|
||||
* @context: a #GdkDragContext
|
||||
* @time_: the timestamp for this operation
|
||||
@ -490,9 +484,6 @@ gdk_drag_abort (GdkDragContext *context,
|
||||
* Drops on the current destination.
|
||||
*
|
||||
* This function is called by the drag source.
|
||||
*
|
||||
* This function does not need to be called in managed drag and drop
|
||||
* operations. See gdk_drag_context_manage_dnd() for more information.
|
||||
*/
|
||||
void
|
||||
gdk_drag_drop (GdkDragContext *context,
|
||||
|
16
gdk/gdkdnd.h
16
gdk/gdkdnd.h
@ -134,7 +134,6 @@ GDK_AVAILABLE_IN_ALL
|
||||
GdkDragProtocol gdk_drag_context_get_protocol (GdkDragContext *context);
|
||||
|
||||
/* Destination side */
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_drag_status (GdkDragContext *context,
|
||||
GdkDragAction action,
|
||||
@ -176,21 +175,6 @@ void gdk_drag_find_window (GdkDragContext *context,
|
||||
GdkDragProtocol *protocol);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_drag_motion (GdkDragContext *context,
|
||||
GdkWindow *dest_window,
|
||||
GdkDragProtocol protocol,
|
||||
gint x_root,
|
||||
gint y_root,
|
||||
GdkDragAction suggested_action,
|
||||
GdkDragAction possible_actions,
|
||||
guint32 time_);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_drag_drop (GdkDragContext *context,
|
||||
guint32 time_);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_drag_abort (GdkDragContext *context,
|
||||
guint32 time_);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
|
@ -123,6 +123,21 @@ gboolean gdk_drag_context_handle_dest_event (GdkEvent *event);
|
||||
GdkCursor * gdk_drag_get_cursor (GdkDragContext *context,
|
||||
GdkDragAction action);
|
||||
|
||||
gboolean gdk_drag_motion (GdkDragContext *context,
|
||||
GdkWindow *dest_window,
|
||||
GdkDragProtocol protocol,
|
||||
gint x_root,
|
||||
gint y_root,
|
||||
GdkDragAction suggested_action,
|
||||
GdkDragAction possible_actions,
|
||||
guint32 time_);
|
||||
void gdk_drag_abort (GdkDragContext *context,
|
||||
guint32 time_);
|
||||
void gdk_drag_drop (GdkDragContext *context,
|
||||
guint32 time_);
|
||||
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user