[gtk+/gtk-2-22] gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()



commit d393cb377c60a4de9cab1d026acccafed1e34ec1
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.

 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 e6dd466..f1d9332 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -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
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 d27b973..7d7da43 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -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);



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