]> spindle.queued.net Git - midori/commitdiff
Keep Midori.URI.parse as an alias for compatibility
authorChristian Dywan <christian@twotoasts.de>
Tue, 22 Nov 2011 20:27:35 +0000 (21:27 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 22 Nov 2011 20:57:20 +0000 (21:57 +0100)
katze/midori-uri.vala

index 8fb7bcab1b2b6b4155aa4fc39f6c709985d3360c..e01ba48429d878f663307070eaf5bc301b8ea3ee 100644 (file)
@@ -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;