GtkSharp/sample/opaquetest
Dan Winship 12cd8d0d17 * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref
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
2005-08-09 14:44:32 +00:00
..
Makefile.am * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
opaque-api.xml * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
opaque-sources.xml * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
Opaque.metadata * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
opaques.c * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
opaques.h * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
OpaqueTest.cs * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00
opaquetest.exe.config.in * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref 2005-08-09 14:44:32 +00:00