[gtk+] gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()



commit 19236d68d9f6fc295180bd5dec9925f40d19682d
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jun 2 20:42:11 2010 +0200

    gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()
    
    so its purpose is clear.
    (cherry picked from commit d393cb377c60a4de9cab1d026acccafed1e34ec1)

 gdk/gdk.symbols |    2 +-
 gdk/gdkdnd.c    |    2 +-
 gdk/gdkdnd.h    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 379ec28..d58b3dd 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -591,8 +591,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
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 1b4ca7a..f4d2332 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -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);
 
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h
index 2b6ceb0..c6a8079 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -114,7 +114,7 @@ GdkDevice *      gdk_drag_context_get_device           (GdkDragContext *context)
 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);
 
 /* Destination side */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]