[folks] tools: Fix ambiguous references to HashTable
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] tools: Fix ambiguous references to HashTable
- Date: Tue, 12 Feb 2013 11:28:18 +0000 (UTC)
commit 738b44c867569e53a2da6897d672d8daf1ca8d13
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Feb 12 11:26:50 2013 +0000
tools: Fix ambiguous references to HashTable
Could have been GLib.HashTable or Xml.HashTable. Caught by Jenkins:
https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-folks/114/
On further investigation, this was caused by changes to the libxml2
bindings in Vala. Compilation of folks against Vala master now
succeeds, so there shouldnât be any more HashTable failures.
tools/import-pidgin.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/import-pidgin.vala b/tools/import-pidgin.vala
index 2240038..f09e693 100644
--- a/tools/import-pidgin.vala
+++ b/tools/import-pidgin.vala
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2010 Collabora Ltd.
+ * Copyright (C) 2013 Philip Withnall
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -223,8 +224,7 @@ public class Folks.Importers.Pidgin : Folks.Importer
}
/* Create or update the relevant Persona */
- HashTable<string, Value?> details =
- new HashTable<string, Value?> (str_hash, str_equal);
+ var details = new GLib.HashTable<string, Value?> (str_hash, str_equal);
Value im_addresses_value = Value (typeof (MultiMap));
im_addresses_value.set_object (im_addresses);
details.insert ("im-addresses", im_addresses_value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]