Keep Midori.URI.parse as an alias for compatibility

This commit is contained in:
Christian Dywan 2011-11-22 21:27:35 +01:00
parent a1f4eeaeba
commit 25d714d3a2

View file

@ -31,6 +31,10 @@ namespace Midori {
} }
return hostname; 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) { public static string to_ascii (string uri) {
/* Convert hostname to ASCII. */ /* Convert hostname to ASCII. */
string? proto = null; string? proto = null;