summaryrefslogtreecommitdiff
path: root/gdk/broadway/gdkselection-broadway.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/broadway/gdkselection-broadway.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/broadway/gdkselection-broadway.c')
-rw-r--r--gdk/broadway/gdkselection-broadway.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdk/broadway/gdkselection-broadway.c b/gdk/broadway/gdkselection-broadway.c
index 9c5a4ab81f..cce27a7673 100644
--- a/gdk/broadway/gdkselection-broadway.c
+++ b/gdk/broadway/gdkselection-broadway.c
@@ -24,8 +24,6 @@
#include "config.h"
-#include "gdkselection.h"
-
#include "gdkproperty.h"
#include "gdkprivate-broadway.h"
#include "gdkdisplay-broadway.h"
@@ -123,7 +121,7 @@ _gdk_broadway_display_text_property_to_utf8_list (GdkDisplay *display,
g_return_val_if_fail (length >= 0, 0);
g_return_val_if_fail (GDK_IS_DISPLAY (display), 0);
- if (encoding == GDK_TARGET_STRING)
+ if (encoding == gdk_atom_intern_static_string ("STRING"))
{
return make_list ((gchar *)text, length, TRUE, list);
}