]> spindle.queued.net Git - midori/commitdiff
Fix download manager compilation with Vala >= 0.16
authorAndré Stösel <andre@stoesel.de>
Tue, 10 Apr 2012 16:53:15 +0000 (18:53 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 10 Apr 2012 20:35:49 +0000 (22:35 +0200)
Fixes: https://bugs.launchpad.net/midori/+bug/976139
extensions/external-download-manager.vala

index ba397c0f354bdf524c249d755fc7ccc3cea99cff..f7266f7af9d1d82ca668da805f1f2f311bd492f1 100644 (file)
@@ -136,7 +136,7 @@ namespace EDM {
             var url = value_array_new ();
             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));
             referer.set_string (dlReq.referer);
             options.insert ("referer", referer);