Ryujinx-GtkSharp/sample
Dan Winship 196be89bc9 * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject
constructors and casts. Add a new Enum cast.
	(Val): Handle Pointer values. Change the handling of Enum/Flags
	values to return the value directly rather than returning an
	EnumWrapper. Remove the Char (ie, "byte") handling since there
	aren't any char properties in all of gtk-sharp and the generator
	mistakenly converts them to strings anyway.

	* glib/EnumWrapper.cs: 
	* glib/UnwrappedObject.cs: Mark these Obsolete.

	* glib/glue/type.c (gtksharp_get_parent_type,
	gtksharp_get_type_name_for_id): 
	* glib/glue/value.c (gtksharp_value_get_value_type): Remove some
	unneeded glue methods.

	* generator/Ctor.cs (Generate):
	* generator/Property.cs (Generate): Simplify the enum and object
	property glue to not use EnumWrapper or UnwrappedObject.

	* sample/valtest/*: a regression test for GLib.Value

	* configure.in.in: add sample/valtest

svn path=/trunk/gtk-sharp/; revision=47564
2005-07-22 18:36:50 +00:00
..
DbClient 2004-02-10 Mike Kestner <mkestner@ximian.com> 2004-02-10 20:35:40 +00:00
gconf kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
gnomevfs kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
GtkDemo 2005-06-22 Mike Kestner <mkestner@novell.com> 2005-06-22 19:18:19 +00:00
panelapplet merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
pixmaps kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
rsvg kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
test make the sample 2.4 friendly 2005-07-01 17:45:07 +00:00
valtest * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
Actions.cs 2005-02-10 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2005-02-10 21:50:50 +00:00
ButtonApp.cs 2004-03-12 Mike Kestner <mkestner@ximian.com> 2004-03-12 21:18:11 +00:00
cairo-sample.exe.config.in Update Cairo Sample 2004-09-06 23:54:35 +00:00
CairoSample.cs Update Cairo Sample 2004-09-06 23:54:35 +00:00
CalendarApp.cs 2004-03-12 Mike Kestner <mkestner@ximian.com> 2004-03-12 21:18:11 +00:00
CanvasExample.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
CustomCellRenderer.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
CustomWidget.cs 2005-01-25 John Luke <john.luke@gmail.com> 2005-01-25 21:18:33 +00:00
DrawingSample.cs 2005-01-11 Mike Kestner <mkestner@novell.com> 2005-01-12 00:11:08 +00:00
Fifteen.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
GladeTest.cs 2005-06-22 Mike Kestner <mkestner@novell.com> 2005-06-22 21:44:34 +00:00
GladeViewer.cs 2004-02-12 Mike Kestner <mkestner@ximian.com> 2004-02-13 21:16:12 +00:00
GnomeHelloWorld.cs 2004-05-07 Mike Kestner <mkestner@ximian.com> 2004-05-07 15:01:56 +00:00
GstPlayer.cs add usage check and message 2003-11-07 21:56:24 +00:00
gtk-html-sample.cs Remove unnecessary config file 2005-04-26 17:10:10 +00:00
GtkCairo.cs Update Cairo Sample 2004-09-06 23:54:35 +00:00
HelloWorld.cs 2004-02-10 Mike Kestner <mkestner@ximian.com> 2004-02-10 20:35:40 +00:00
Makefile.am * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
makefile.win32 some makefile win32 lovin 2005-06-22 21:49:25 +00:00
ManagedTreeViewDemo.cs 2005-03-31 Mike Kestner <mkestner@novell.com> 2005-03-31 16:31:31 +00:00
Menu.cs 2004-03-12 Mike Kestner <mkestner@ximian.com> 2004-03-12 21:18:11 +00:00
NodeViewDemo.cs 2004-12-17 Mike Kestner <mkestner@novell.com> 2004-12-17 20:32:33 +00:00
PolarFixed.cs 2005-04-17 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com> 2005-04-17 08:42:47 +00:00
PrintSample.cs merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
Scribble.cs 2004-05-18 Todd Berman <tberman@sevenl.net> 2004-05-18 05:48:10 +00:00
ScribbleXInput.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
Size.cs * generator/ManagedCallString.cs (Setup, Finish, ToString): Add 2004-12-16 23:38:35 +00:00
Subclass.cs 2004-12-23 Mike Kestner <mkestner@novell.com> 2004-12-23 22:59:59 +00:00
test.glade 2005-06-22 Mike Kestner <mkestner@novell.com> 2005-06-22 21:44:34 +00:00
TestDnd.cs merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
TestVfs.cs 2004-12-08 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2004-12-08 08:47:18 +00:00
TreeViewDemo.cs 2004-12-16 Mike Kestner <mkestner@novell.com> 2004-12-16 20:30:43 +00:00
VteTest.cs 2004-07-05 John Luke <jluke@cfl.rr.com> 2004-07-06 00:52:13 +00:00