summaryrefslogtreecommitdiff
path: root/gdk/wayland
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-13 23:39:03 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-13 23:39:03 -0500
commit54a62731916bbf724b53f0c9fc2bd1addb85802f (patch)
tree78318499de3a787d6ea9952d786ea966d60a124c /gdk/wayland
parent4c083c1ed42a3ebae97a96fc11ef1113ad769f15 (diff)
downloadgtk+-54a62731916bbf724b53f0c9fc2bd1addb85802f.tar.gz
Drop gdk_atom_intern
Atoms are just interned strings now, so we can just use g_intern_string.
Diffstat (limited to 'gdk/wayland')
-rw-r--r--gdk/wayland/gdkdnd-wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdkdnd-wayland.c b/gdk/wayland/gdkdnd-wayland.c
index a7f0aa8e88..58453cf8c8 100644
--- a/gdk/wayland/gdkdnd-wayland.c
+++ b/gdk/wayland/gdkdnd-wayland.c
@@ -240,7 +240,7 @@ gdk_wayland_drop_context_set_status (GdkDragContext *context,
mimetypes = gdk_content_formats_get_mime_types (context->formats, &n_mimetypes);
for (i = 0; i < n_mimetypes; i++)
{
- if (mimetypes[i] != gdk_atom_intern_static_string ("DELETE"))
+ if (mimetypes[i] != g_intern_static_string ("DELETE"))
break;
}