diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-12-13 23:39:03 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-12-13 23:39:03 -0500 |
commit | 54a62731916bbf724b53f0c9fc2bd1addb85802f (patch) | |
tree | 78318499de3a787d6ea9952d786ea966d60a124c /gdk/x11/gdkselection-x11.c | |
parent | 4c083c1ed42a3ebae97a96fc11ef1113ad769f15 (diff) | |
download | gtk+-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/x11/gdkselection-x11.c')
-rw-r--r-- | gdk/x11/gdkselection-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c index 1162f7c20c..aa3babc251 100644 --- a/gdk/x11/gdkselection-x11.c +++ b/gdk/x11/gdkselection-x11.c @@ -199,11 +199,11 @@ _gdk_x11_display_text_property_to_utf8_list (GdkDisplay *display, gint length, gchar ***list) { - if (encoding == gdk_atom_intern_static_string ("STRING")) + if (encoding == g_intern_static_string ("STRING")) { return make_list ((gchar *)text, length, TRUE, list); } - else if (encoding == gdk_atom_intern_static_string ("UTF8_STRING")) + else if (encoding == g_intern_static_string ("UTF8_STRING")) { return make_list ((gchar *)text, length, FALSE, list); } |