diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-17 08:57:26 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-17 15:31:20 +0100 |
commit | 07119d1476db0a7568f79cbc855a888007dc7400 (patch) | |
tree | 4a49d6aece786619c8571be721ab1ff0b6957834 /tools/wixl/util.vala | |
parent | 36ae00127902d931155c5cc066bac37ecbf7faa7 (diff) | |
download | msitools-07119d1476db0a7568f79cbc855a888007dc7400.tar.gz msitools-07119d1476db0a7568f79cbc855a888007dc7400.tar.xz msitools-07119d1476db0a7568f79cbc855a888007dc7400.zip |
wixl: do not use g_hash_table_add
This is not supported in GLib 2.22, which is the version used in RHEL6.
Diffstat (limited to 'tools/wixl/util.vala')
-rw-r--r-- | tools/wixl/util.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/wixl/util.vala b/tools/wixl/util.vala index 29d9734..e7fadcc 100644 --- a/tools/wixl/util.vala +++ b/tools/wixl/util.vala @@ -32,6 +32,10 @@ namespace Wixl { return v.value; } + public void hash_table_add<G> (HashTable<G, G*> h, G o) { + h.replace (o, o); + } + public string add_braces (string str) { if (str[0] == '{') return str; |