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;