From: Christian Dywan Date: Tue, 22 Nov 2011 20:27:35 +0000 (+0100) Subject: Keep Midori.URI.parse as an alias for compatibility X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25d714d3a2847977f96d1e87c7d5c93acc476a4a;p=midori Keep Midori.URI.parse as an alias for compatibility --- diff --git a/katze/midori-uri.vala b/katze/midori-uri.vala index 8fb7bcab..e01ba484 100644 --- a/katze/midori-uri.vala +++ b/katze/midori-uri.vala @@ -31,6 +31,10 @@ namespace Midori { } return hostname; } + /* Deprecated: 0.4.3 */ + public static string parse (string uri, out string path) { + return parse_hostname (uri, out path) ?? uri; + } public static string to_ascii (string uri) { /* Convert hostname to ASCII. */ string? proto = null;