tree-wide: Use g_hash_table_add() where applicable

Just noticed a few while reading some code, decided to do a quick
cleanup.  It's shorter and clearer.

Closes: #614
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2016-12-06 17:45:23 +00:00
1 parent 247a8718bb
commit 37965644ff
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self,
else
{
write_key (self, buf, key, value);
g_hash_table_insert (written_overrides, (gpointer)key, (gpointer)key);
g_hash_table_add (written_overrides, (gpointer)key);
}
}