ParamSpec: Add override modifier to the ToString method

This remove a compilation warning.
This commit is contained in:
Bertrand Lorentz 2011-12-03 16:25:08 +01:00
parent d239b5cc4e
commit 0de6e9869d

View file

@ -116,7 +116,7 @@ namespace GLib {
} }
} }
public string ToString () public override string ToString ()
{ {
GParamSpec spec = (GParamSpec) Marshal.PtrToStructure (Handle, typeof (GParamSpec)); GParamSpec spec = (GParamSpec) Marshal.PtrToStructure (Handle, typeof (GParamSpec));
GType valtype= new GType (spec.value_type); GType valtype= new GType (spec.value_type);