summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-12-14 04:34:33 +0100
committerBenjamin Otte <otte@redhat.com>2017-12-14 04:39:22 +0100
commitb49a9b9933490dc717894fbef4cae0df0775453c (patch)
treeb1997059daa5d8760aefb0610f82b2ec0f438997 /gdk/gdkdnd.c
parent65fcff87b2df4d217814bf6519e2ebe433baf1aa (diff)
downloadgtk+-b49a9b9933490dc717894fbef4cae0df0775453c.tar.gz
dnd: Remove gdk_drag_get_selection()
Without selections, drags can't have them either. Also included is removing the selection from GtkSelectionData. Includes a bunch of crude cleanups to Wayland code that no longer has to care about selection atoms.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r--gdk/gdkdnd.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index e0e0c3e7c7..44de31c25a 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -693,22 +693,6 @@ gdk_drag_drop_succeeded (GdkDragContext *context)
return GDK_DRAG_CONTEXT_GET_CLASS (context)->drop_status (context);
}
-/**
- * gdk_drag_get_selection:
- * @context: a #GdkDragContext.
- *
- * Returns the selection atom for the current source window.
- *
- * Returns: (transfer none): the selection atom, or %NULL
- */
-GdkAtom
-gdk_drag_get_selection (GdkDragContext *context)
-{
- g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), NULL);
-
- return GDK_DRAG_CONTEXT_GET_CLASS (context)->get_selection (context);
-}
-
static void
gdk_drag_context_write_done (GObject *content,
GAsyncResult *result,