Fix download manager compilation with Vala >= 0.16
Fixes: https://bugs.launchpad.net/midori/+bug/976139
This commit is contained in:
parent
afd6b652c9
commit
7400114eac
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue