Trivial formatting fix

This commit is contained in:
Matthias Clasen
2014-08-30 00:53:21 -04:00
parent f505fc5cb4
commit 0fed16d1b0

View File

@@ -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;
}