Fix download manager compilation with Vala >= 0.16

Fixes: https://bugs.launchpad.net/midori/+bug/976139
This commit is contained in:
André Stösel 2012-04-10 18:53:15 +02:00 committed by Christian Dywan
parent afd6b652c9
commit 7400114eac

View file

@ -136,7 +136,7 @@ namespace EDM {
var url = value_array_new (); var url = value_array_new ();
value_array_insert (url, 0, typeof (string), dlReq.uri); value_array_insert (url, 0, typeof (string), dlReq.uri);
var options = value_hash_new (); GLib.HashTable<string, GLib.Value?> options = value_hash_new ();
var referer = new GLib.Value (typeof (string)); var referer = new GLib.Value (typeof (string));
referer.set_string (dlReq.referer); referer.set_string (dlReq.referer);
options.insert ("referer", referer); options.insert ("referer", referer);