mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 01:45:32 +00:00
12cd8d0d17
a bit; only Ref the pointer if Owned is false (and then set it to true), and vice versa for Unref. * glib/Opaque.cs (Opaque): set owned before setting Raw, so that Raw will be reffed properly. (GetOpaque): Fix this up to dtrt in all cases with refcounted opaques. * gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather than "new TreePath()" * sample/opaquetest/*: regression test for opaque free/ref/unref handling * sample/Makefile.am (SUBDIRS): add opaquetest * configure.in.in (AC_OUTPUT): add opaquetest files svn path=/trunk/gtk-sharp/; revision=48168
10 lines
198 B
XML
10 lines
198 B
XML
<gapi-parser-input>
|
|
<api filename="opaque-api.xml">
|
|
<library name="libopaque.dll">
|
|
<namespace name="Gtksharp">
|
|
<dir>.</dir>
|
|
</namespace>
|
|
</library>
|
|
</api>
|
|
</gapi-parser-input>
|