Commit 0fed16d1 authored by Matthias Clasen's avatar Matthias Clasen

Trivial formatting fix

parent f505fc5c
......@@ -160,7 +160,8 @@ ensure_atom_tables (void)
}
static GdkAtom
intern_atom_internal (const gchar *atom_name, gboolean allocate)
intern_atom_internal (const gchar *atom_name,
gboolean allocate)
{
gpointer result;
gchar *name;
......@@ -172,8 +173,8 @@ intern_atom_internal (const gchar *atom_name, gboolean allocate)
result = GINT_TO_POINTER (atoms_to_names->len);
name = allocate ? g_strdup (atom_name) : (gchar *)atom_name;
g_hash_table_insert(names_to_atoms, name, result);
g_ptr_array_add(atoms_to_names, name);
g_hash_table_insert (names_to_atoms, name, result);
g_ptr_array_add (atoms_to_names, name);
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment