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 |
||
---|---|---|
.. | ||
Makefile.am | ||
opaque-api.xml | ||
opaque-sources.xml | ||
Opaque.metadata | ||
opaques.c | ||
opaques.h | ||
OpaqueTest.cs | ||
opaquetest.exe.config.in |