summaryrefslogtreecommitdiff
path: root/gdk/gdkproperty.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-13 23:26:23 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-13 23:26:23 -0500
commit4c083c1ed42a3ebae97a96fc11ef1113ad769f15 (patch)
treea567ad91921f7bee2a16ff372aad5e826d1f1fb5 /gdk/gdkproperty.c
parente3e9bf4bea3307e9d0c6728d82f04994b069005f (diff)
downloadgtk+-4c083c1ed42a3ebae97a96fc11ef1113ad769f15.tar.gz
Drop gdk_atom_name
Since atoms are just interned strings now, we can just cast them to const char * where needed.
Diffstat (limited to 'gdk/gdkproperty.c')
-rw-r--r--gdk/gdkproperty.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdk/gdkproperty.c b/gdk/gdkproperty.c
index 8405828ac3..8f6c9fa022 100644
--- a/gdk/gdkproperty.c
+++ b/gdk/gdkproperty.c
@@ -103,25 +103,3 @@ gdk_atom_intern_static_string (const gchar *atom_name)
return g_intern_static_string (atom_name);
}
-
-/**
- * gdk_atom_name:
- * @atom: a #GdkAtom.
- *
- * Determines the string corresponding to an atom.
- *
- * Returns: a newly-allocated string containing the string
- * corresponding to @atom. When you are done with the
- * return value, you should free it using g_free().
- */
-gchar *
-gdk_atom_name (GdkAtom atom)
-{
- return g_strdup (_gdk_atom_name_const (atom));
-}
-
-const gchar *
-_gdk_atom_name_const (GdkAtom atom)
-{
- return atom;
-}