dnd: Rename gdk_drop_finish() => gdk_drag_finish()

This is a simple rename, so that we can reintroduce gdk_drop_finish()
with the GdkDrop object.
This commit is contained in:
Benjamin Otte 2018-05-14 15:09:42 +02:00
parent a05af1f0f3
commit 13ae11ee01
8 changed files with 10 additions and 10 deletions

View File

@ -71,7 +71,7 @@ straightforward manner.
void gdk_drag_status (GdkDragContext *context,
GdkDragAction action,
guint32 time);
void gdk_drop_finish (GdkDragContext *context,
void gdk_drag_finish (GdkDragContext *context,
gboolean success,
guint32 time);
GdkAtom gdk_drag_get_selection (GdkDragContext *context);

View File

@ -783,7 +783,7 @@ GdkDragContext
GdkDragCancelReason
gdk_drag_drop_done
gdk_drag_begin
gdk_drop_finish
gdk_drag_finish
GdkDragAction
GDK_ACTION_ALL
gdk_drag_status

View File

@ -573,7 +573,7 @@ gdk_drag_drop (GdkDragContext *context,
}
/**
* gdk_drop_finish:
* gdk_drag_finish:
* @context: a #GdkDragContext
* @success: %TRUE if the data was successfully received
* @time_: the timestamp for this operation
@ -583,7 +583,7 @@ gdk_drag_drop (GdkDragContext *context,
* This function is called by the drag destination.
*/
void
gdk_drop_finish (GdkDragContext *context,
gdk_drag_finish (GdkDragContext *context,
gboolean success,
guint32 time_)
{

View File

@ -115,7 +115,7 @@ void gdk_drag_status (GdkDragContext *context,
GdkDragAction action,
guint32 time_);
GDK_AVAILABLE_IN_ALL
void gdk_drop_finish (GdkDragContext *context,
void gdk_drag_finish (GdkDragContext *context,
gboolean success,
guint32 time_);

View File

@ -314,12 +314,12 @@ gdk_drop_get_formats (GdkDrop *self)
*
* Returns the possible actions for this #GdkDrop. If this value
* contains multiple actions - ie gdk_drag_action_is_unique()
* returns %FALSE for the result - gdk_drop_finish() must choose
* returns %FALSE for the result - gdk_drag_finish() must choose
* the action to use when accepting the drop.
*
* This value may change over the lifetime of the #GdkDrop both
* as a response to source side actions as well as to calls to
* gdk_drop_status() or gdk_drop_finish(). The source side will
* gdk_drop_status() or gdk_drag_finish(). The source side will
* not change this value anymore once a drop has started.
*
* Returns: The possible #GdkDragActions

View File

@ -2370,7 +2370,7 @@ gdk_win32_drag_context_drop_done (GdkDragContext *context,
success ? "dropped successfully" : "dropped unsuccessfully"));
/* FIXME: This is temporary, until the code is fixed to ensure that
* gdk_drop_finish () is called by GTK.
* gdk_drag_finish () is called by GTK.
*/
if (use_ole2_dnd)
{

View File

@ -904,7 +904,7 @@ gdk_win32_drop_context_drop_finish (GdkDragContext *context,
g_return_if_fail (context != NULL);
GDK_NOTE (DND, g_print ("gdk_drop_finish\n"));
GDK_NOTE (DND, g_print ("gdk_drag_finish\n"));
if (!use_ole2_dnd)
{

View File

@ -352,7 +352,7 @@ gtk_drag_finish (GdkDragContext *context,
{
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
gdk_drop_finish (context, success, time);
gdk_drag_finish (context, success, time);
}
/**