From dbb08ab312d77b8eb91e7af92589d1700612df29 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sun, 30 Nov 2003 01:00:56 +0000 Subject: [PATCH] This fixed the build for me svn path=/trunk/gtk-sharp/; revision=20613 --- gdk/Pixbuf.custom | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gdk/Pixbuf.custom b/gdk/Pixbuf.custom index b2a115472..3bbe85d60 100644 --- a/gdk/Pixbuf.custom +++ b/gdk/Pixbuf.custom @@ -104,9 +104,8 @@ Raw = gdk_pixbuf_new_from_inline(data.Length, data, copy_pixels, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); } - - [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern unsafe IntPtr gdk_pixbuf_new_from_inline(int len, IntPtr data, bool copy_pixels, out IntPtr error); + public unsafe Pixbuf(int data_length, void *data, bool copy_pixels) { IntPtr error = IntPtr.Zero;