From b32226a94b894d24226340daa3ca66fd0b542c11 Mon Sep 17 00:00:00 2001 From: kwm Date: Thu, 10 Jun 2010 10:55:01 +0000 Subject: Back port a fix from gtk+ gtk, branch gtk-2-22. So evolution[data-server] can build. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14232 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-toolkits/gtk20/files/patch-gdk_drag-context | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 x11-toolkits/gtk20/files/patch-gdk_drag-context (limited to 'x11-toolkits/gtk20/files') diff --git a/x11-toolkits/gtk20/files/patch-gdk_drag-context b/x11-toolkits/gtk20/files/patch-gdk_drag-context new file mode 100644 index 000000000..5e2e8967c --- /dev/null +++ b/x11-toolkits/gtk20/files/patch-gdk_drag-context @@ -0,0 +1,43 @@ +--- gdk/gdk.symbols.orig 2010-05-30 08:52:43.000000000 +0200 ++++ gdk/gdk.symbols 2010-06-10 12:33:53.000000000 +0200 +@@ -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 +--- gdk/gdkdnd.h.orig 2010-05-30 08:52:43.000000000 +0200 ++++ gdk/gdkdnd.h 2010-06-10 12:33:53.000000000 +0200 +@@ -109,7 +109,7 @@ GdkDragContext * gdk_drag_context_new + 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); +--- gdk/gdkdnd.c.orig 2010-05-30 08:18:44.000000000 +0200 ++++ gdk/gdkdnd.c 2010-06-10 12:33:53.000000000 +0200 +@@ -133,7 +133,7 @@ gdk_drag_context_get_suggested_action (G + } + + /** +- * gdk_drag_context_get_action: ++ * gdk_drag_context_selected_get_action: + * @context: a #GdkDragContext + * + * Determines the action chosen by the drag destination. +@@ -143,7 +143,7 @@ gdk_drag_context_get_suggested_action (G + * 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); + -- cgit v1.2.3