Keep Midori.URI.parse as an alias for compatibility
This commit is contained in:
parent
a1f4eeaeba
commit
25d714d3a2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue