mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 19:44:45 +02:00
Merge pull request #72 from knocte/bindinator
glib: fix FindClassProperty()'s copy-paste error
This commit is contained in:
commit
46cd80aea0
@ -451,9 +451,9 @@ namespace GLib {
|
|||||||
|
|
||||||
static IntPtr FindClassProperty (GType type, string name)
|
static IntPtr FindClassProperty (GType type, string name)
|
||||||
{
|
{
|
||||||
IntPtr g_iface = type.GetDefaultInterfacePtr ();
|
IntPtr g_class = type.GetClassPtr ();
|
||||||
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
|
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
|
||||||
return g_object_class_find_property (g_iface, native_name);
|
return g_object_class_find_property (g_class, native_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
Loading…
Reference in New Issue
Block a user