6bf7376094
anonymous function pointer types in method signatures. Before, we added a <callback> child to the <parameters> node, but the generator just ignored it. Now we add the callback (with a made-up name) to the toplevel node, and add an ordinary <param> node referencing it to the <parameters> node. Also, if the last param of the callback is a gpointer, rename it from "arg#" to "data" so it will be treated correctly (as the user data passed from the calling method). [Fixes #66241] * art/art-api.raw: * gdk/gdk-api-2.4.raw: * gdk/gdk-api-2.6.raw: Regen * generator/Parameters.cs (IsHidden): loosen the definition of hideable user_data; it doesn't have to occur at the end of the parameter list, as long as there's a callback arg before it. * generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden to decide whether or not to squash user_data params, rather than trying to duplicate its logic. As a side effect, this also causes a handful of methods that take non-hidden IntPtr arguments to start actually passing those arguments to C rather than always passing IntPtr.Zero. * generator/Method.cs (Equals, GetHashCode): Remove unnecessary and possibly erroneous hashing overrides. * gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's useless and wasn't in gtk# 1.0 * gtk/Menu.custom (Popup): * gtk/TextIter.custom (ForwardFindChar, BackwardFindChar): * gnome/App.custom (CreateMenusInterp, InsertMenusInterp, CreateToolbarInterp): * gnome/Client.custom (RequestInteractionInterp): * gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add [Obsolete] compat overloads for methods that have now lost a useless IntPtr. svn path=/trunk/gtk-sharp/; revision=47566
65 lines
1.6 KiB
Makefile
65 lines
1.6 KiB
Makefile
SUBDIRS = . glue
|
|
|
|
if ENABLE_GNOME
|
|
pkg = gnome
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = gnome-sharp-2.0.pc
|
|
else
|
|
pkg =
|
|
endif
|
|
|
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml ../art/art-api.xml ../gnomevfs/gnome-vfs-api.xml
|
|
METADATA = Gnome.metadata
|
|
SYMBOLS =
|
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll ../art/art-sharp.dll ../gnomevfs/gnome-vfs-sharp.dll
|
|
glue_includes = gnome.h,libgnomeprint/gnome-print.h,libgnomeprint/gnome-print-paper.h
|
|
|
|
sources = \
|
|
BonoboUIVerb.cs \
|
|
IconTheme.cs \
|
|
Modules.cs \
|
|
PanelAppletFactory.cs
|
|
|
|
customs = \
|
|
About.custom \
|
|
App.custom \
|
|
DateEdit.custom \
|
|
CanvasBpath.custom \
|
|
CanvasClipgroup.custom \
|
|
Canvas.custom \
|
|
CanvasEllipse.custom \
|
|
CanvasGroup.custom \
|
|
CanvasItem.custom \
|
|
CanvasLine.custom \
|
|
CanvasPathDef.custom \
|
|
CanvasPixbuf.custom \
|
|
CanvasPoints.custom \
|
|
CanvasPolygon.custom \
|
|
CanvasRect.custom \
|
|
CanvasRE.custom \
|
|
CanvasRichText.custom \
|
|
CanvasShape.custom \
|
|
CanvasText.custom \
|
|
CanvasWidget.custom \
|
|
Client.custom \
|
|
Druid.custom \
|
|
DruidPageEdge.custom \
|
|
Font.custom \
|
|
FontFamily.custom \
|
|
GPFontEntry.custom \
|
|
IconList.custom \
|
|
IconTextItem.custom \
|
|
PanelApplet.custom \
|
|
Popup.custom \
|
|
Print.custom \
|
|
PrintContext.custom \
|
|
PrintDialog.custom \
|
|
PrintJob.custom \
|
|
Program.custom \
|
|
Scores.custom \
|
|
UIInfo.custom
|
|
|
|
add_dist = gnome-sharp-2.0.pc.in
|
|
|
|
include ../Makefile.include
|
|
|