mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-27 02:15:51 +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
6 lines
201 B
XML
6 lines
201 B
XML
<?xml version="1.0"?>
|
|
<metadata>
|
|
<attr path="/api/namespace/struct[@name='Opaque']" name="opaque">1</attr>
|
|
<attr path="/api/namespace/struct[@name='Refcounted']" name="opaque">1</attr>
|
|
</metadata>
|