gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()

so its purpose is clear.
This commit is contained in:
Michael Natterer 2010-06-02 20:42:11 +02:00
parent 8a6f6b5421
commit d393cb377c
3 changed files with 3 additions and 3 deletions

View File

@ -535,8 +535,8 @@ gdk_drop_reply
#if IN_HEADER(__GDK_DND_H__)
#if IN_FILE(__GDK_DND_C__)
gdk_drag_context_get_action
gdk_drag_context_get_actions
gdk_drag_context_get_selected_action
gdk_drag_context_get_suggested_action
gdk_drag_context_list_targets
gdk_drag_find_window

View File

@ -143,7 +143,7 @@ gdk_drag_context_get_suggested_action (GdkDragContext *context)
* Since: 2.22
**/
GdkDragAction
gdk_drag_context_get_action (GdkDragContext *context)
gdk_drag_context_get_selected_action (GdkDragContext *context)
{
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), 0);

View File

@ -109,7 +109,7 @@ GdkDragContext * gdk_drag_context_new (void);
GList *gdk_drag_context_list_targets (GdkDragContext *context);
GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context);
GdkDragAction gdk_drag_context_get_suggested_action (GdkDragContext *context);
GdkDragAction gdk_drag_context_get_action (GdkDragContext *context);
GdkDragAction gdk_drag_context_get_selected_action (GdkDragContext *context);
#ifndef GDK_DISABLE_DEPRECATED
void gdk_drag_context_ref (GdkDragContext *context);