Commit graph

4 commits

Author SHA1 Message Date
Dan Winship b7e4cc507e * generator/Parameters.cs (IsHidden): method to check if a
parameter should be hidden in the managed sig (eg, because it's
	user_data, or it's the length of the preceding array/string, etc).
	(VisibleCount): the number of parameters that will actually be
	exposed in the managed signature.
	(IsAccessor): test VisibleCount, not Count
	(AccessorReturnType, AccessorName): deal with the fact that the
	accessor parameter might not be the first one.

	* generator/CallbackGen.cs:
	* generator/Signature.cs: use Parameters.IsHidden.

	* generator/Method.cs (Initialize): set is_set based on
	VisibleCount, not Count.
	(Validate): call base.Validate() before Initialize() so that
	VisibleCount will be correct in Initialize.

	* generator/MethodBody.cs (GetCallString, CallArrayLength,
	Initialize): update to deal with accessors with multiple args.

	* gtk/Clipboard.custom (SetText): implement as an Obsolete variant
	of the Text property

	* gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete
	SetSearchPath, implement a setter on SearchPath instead.

	* gtk/ListStore.custom (SetColumnTypes):
	* gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete
	variant of the ColumnTypes property.

	* glade/XML.custom (CustomHandler): implement as a property
	(SetCustomHandler): Mark this obsolete

	* glade/Global.custom (SetCustomHandler): deprecate in favor of
	XML.CustomHandler.

	* gnomedb/Editor.custom (SetText): implement as an Obsolete
	variant of the Text property

svn path=/trunk/gtk-sharp/; revision=43898
2005-05-02 20:10:03 +00:00
Mike Kestner 6a6e89d67e 2005-03-12 Mike Kestner <mkestner@novell.com>
* glade/Glade.metadata : mark the XMLCustomWidgetHandler string params
	const-gchar*.  Wonder how many of these are gonna screw us?

svn path=/trunk/gtk-sharp/; revision=41745
2005-03-13 03:22:50 +00:00
John Luke 8e5f5ec6a4 2004-07-16 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata:
        * glade/Glade.metadata: mark return type as const-gchar* for
        Gtk.Global.CheckVersion and Glade.Global.ModuleCheckVersion
        so Gtk# does not try to free them.  Thanks to
        jaspervp@gmx.net (Jasper van Putten) for identifying the Glade
        part. Fixes bugs #61329 and #60954

svn path=/trunk/gtk-sharp/; revision=31239
2004-07-16 19:24:58 +00:00
Mike Kestner bba2334f84 2004-02-12 Mike Kestner <mkestner@ximian.com>
* glade/Glade.metadata : hide a GList method.
	* glade/Makefile.in : run gapi-fixup
	* glade/XML.custom : return Widget[] from GetWidgetPrefix.
	* glade/glade-api.xml : regen
	* pango/Pango.metadata : hide a dubious GList method.
	* pango/pango-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=23043
2004-02-12 21:40:01 +00:00