gdk: Make GDK_NONE Atom translate to NULL

Instead of the string "NONE" we now use NULL.
This commit is contained in:
Benjamin Otte 2017-11-15 16:45:12 +01:00
parent a385a50260
commit 0451c6d30c

View File

@ -68,8 +68,7 @@ ensure_atom_tables (void)
names_to_atoms = g_hash_table_new (g_str_hash, g_str_equal);
atoms_to_names = g_ptr_array_new ();
g_hash_table_insert (names_to_atoms, (gpointer) "NONE", NULL);
g_ptr_array_add (atoms_to_names, (gpointer) "NONE");
g_ptr_array_add (atoms_to_names, NULL);
}
static GdkAtom