diff --git a/ChangeLog b/ChangeLog index 82e4e1494..2a698cd17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-29 Mike Kestner + + * gdk/Gdk.metadata : add some array attrs to Pixbuf ctors. + * gdk/Pixbuf.custom : remove unneeded overloads. + * gdk/gdk-api.xml : regenerated + 2003-11-23 Mike Kestner * generator/SignalHandler.cs : use CONNECT_AFTER. diff --git a/gdk/Gdk.metadata b/gdk/Gdk.metadata index b59917006..e2bc6b435 100644 --- a/gdk/Gdk.metadata +++ b/gdk/Gdk.metadata @@ -17,7 +17,10 @@ 1 1 out + 1 1 + 1 + 1 1 1 libgdk-win32-2.0-0.dll diff --git a/gdk/Pixbuf.custom b/gdk/Pixbuf.custom index f6b65aee3..b2a115472 100644 --- a/gdk/Pixbuf.custom +++ b/gdk/Pixbuf.custom @@ -90,17 +90,7 @@ return ret; } -// -// These are temporary bug fixes: there are a number of entry points that -// are currently miss-generated. -// - - [DllImport("libgdk_pixbuf-2.0-0.dll")] - static extern IntPtr gdk_pixbuf_new_from_data( - byte [] data, int colorspace, bool has_alpha, - int bits_per_sample, int width, int height, int rowstride, - GdkSharp.PixbufDestroyNotifyNative destroy_fn, System.IntPtr destroy_fn_data); - + // overload to default the colorspace public Pixbuf(byte [] data, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn) { GdkSharp.PixbufDestroyNotifyWrapper destroy_fn_wrapper = null; @@ -108,10 +98,6 @@ Raw = gdk_pixbuf_new_from_data(data, (int) Gdk.Colorspace.Rgb, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn_wrapper.NativeDelegate, IntPtr.Zero); } - - [DllImport("libgdk_pixbuf-2.0-0.dll")] - static extern unsafe IntPtr gdk_pixbuf_new_from_inline(int len, byte [] data, bool copy_pixels, out IntPtr error); - public unsafe Pixbuf(byte[] data, bool copy_pixels) { IntPtr error = IntPtr.Zero; diff --git a/gdk/gdk-api.xml b/gdk/gdk-api.xml index c806bf6c0..df4c8cd47 100644 --- a/gdk/gdk-api.xml +++ b/gdk/gdk-api.xml @@ -3819,7 +3819,7 @@ - + @@ -3839,14 +3839,14 @@ - + - +