summaryrefslogtreecommitdiff
path: root/gdk/gdkselection.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-12-14 01:03:00 +0100
committerBenjamin Otte <otte@redhat.com>2017-12-14 03:05:34 +0100
commita4b42f0b736943be15924963c8d563c44962225f (patch)
tree2db9045fb2155d6d49f369737e140a977c1fe7e2 /gdk/gdkselection.c
parent8993a51893473fa6904e6b6ce8ba6e8b7abc3ee8 (diff)
downloadgtk+-a4b42f0b736943be15924963c8d563c44962225f.tar.gz
gdk: Remove selection defines
And with it, remove the selections section from the docs. So selections are gone for good now.
Diffstat (limited to 'gdk/gdkselection.c')
-rw-r--r--gdk/gdkselection.c33
1 files changed, 1 insertions, 32 deletions
diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c
index 09e495083f..23674b7dd8 100644
--- a/gdk/gdkselection.c
+++ b/gdk/gdkselection.c
@@ -24,41 +24,10 @@
#include "config.h"
-#include "gdkselection.h"
-
#include "gdkproperty.h"
-#include "gdkdisplayprivate.h"
+#include "gdkdisplayprivate.h"
-/**
- * SECTION:selections
- * @Short_description: Functions for transfering data via the X selection mechanism
- * @Title: Selections
- *
- * The X selection mechanism provides a way to transfer arbitrary chunks of
- * data between programs. A “selection” is a essentially
- * a named clipboard, identified by a string interned as a #GdkAtom. By
- * claiming ownership of a selection, an application indicates that it will
- * be responsible for supplying its contents. The most common selections are
- * `PRIMARY` and `CLIPBOARD`.
- *
- * The contents of a selection can be represented in a number of formats,
- * called “targets”. Each target is identified by an atom.
- * A list of all possible targets supported by the selection owner can be
- * retrieved by requesting the special target `TARGETS`. When
- * a selection is retrieved, the data is accompanied by a type (an atom), and
- * a format (an integer, representing the number of bits per item).
- * See [Properties and Atoms][gdk3-Properties-and-Atoms]
- * for more information.
- *
- * The functions in this section only contain the lowlevel parts of the
- * selection protocol. A considerably more complicated implementation is needed
- * on top of this. GTK+ contains such an implementation in the functions in
- * `gtkselection.h` and programmers should use those functions
- * instead of the ones presented here. If you plan to implement selection
- * handling directly on top of the functions here, you should refer to the
- * X Inter-client Communication Conventions Manual (ICCCM).
- */
/**
* gdk_text_property_to_utf8_list_for_display: