diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-14 04:34:33 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-14 04:39:22 +0100 |
commit | b49a9b9933490dc717894fbef4cae0df0775453c (patch) | |
tree | b1997059daa5d8760aefb0610f82b2ec0f438997 /gtk/gtkselection.c | |
parent | 65fcff87b2df4d217814bf6519e2ebe433baf1aa (diff) | |
download | gtk+-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 'gtk/gtkselection.c')
-rw-r--r-- | gtk/gtkselection.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index 25c3b0afb5..b2d4c8b559 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -274,24 +274,6 @@ gtk_content_formats_add_uri_targets (GdkContentFormats *list) } /** - * gtk_selection_data_get_selection: - * @selection_data: a pointer to a #GtkSelectionData-struct. - * - * Retrieves the selection #GdkAtom of the selection data. - * - * Returns: (transfer none): the selection #GdkAtom of the selection data. - * - * Since: 2.16 - **/ -GdkAtom -gtk_selection_data_get_selection (const GtkSelectionData *selection_data) -{ - g_return_val_if_fail (selection_data != NULL, 0); - - return selection_data->selection; -} - -/** * gtk_selection_data_get_target: * @selection_data: a pointer to a #GtkSelectionData-struct. * |