VariantType: Fix typo

This commit is contained in:
Xavier Claessens 2014-06-12 16:57:42 -04:00
parent 4158bc99f8
commit c271fe235b

View File

@ -114,11 +114,11 @@ namespace GLib {
} }
[DllImport (Global.GLibNativeDll, CallingConvention = CallingConvention.Cdecl)] [DllImport (Global.GLibNativeDll, CallingConvention = CallingConvention.Cdecl)]
static extern bool g_variant_type_equals (IntPtr a, IntPtr b); static extern bool g_variant_type_equal (IntPtr a, IntPtr b);
public override bool Equals (object o) public override bool Equals (object o)
{ {
return (o is VariantType) && g_variant_type_equals (Handle, (o as VariantType).Handle); return (o is VariantType) && g_variant_type_equal (Handle, (o as VariantType).Handle);
} }
[DllImport (Global.GLibNativeDll, CallingConvention = CallingConvention.Cdecl)] [DllImport (Global.GLibNativeDll, CallingConvention = CallingConvention.Cdecl)]