From 25d714d3a2847977f96d1e87c7d5c93acc476a4a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 22 Nov 2011 21:27:35 +0100 Subject: [PATCH] Keep Midori.URI.parse as an alias for compatibility --- katze/midori-uri.vala | 4 ++++ 1 file changed, 4 insertions(+) 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;