Commit a41491fe authored by Ruben Vermeersch's avatar Ruben Vermeersch

Add implicit conversion to string.

This makes it seamlessly work with GIO#.
parent aaa5ca2f
......@@ -124,6 +124,11 @@ namespace Banshee.Base
return AbsoluteUri;
public static implicit operator string (SafeUri s)
return s.ToString ();
public override bool Equals (object o)
if (!(o is SafeUri)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment