[Mono-bugs] [Bug 362951] GC moves data of Gdk.Pixbuf when creating it with RGB buffer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 23 11:30:54 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=362951

User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=362951#c8


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |vargaz at gmail.com




--- Comment #8 from Zoltan Varga <vargaz at gmail.com>  2008-02-23 09:30:53 MST ---
The Invalid IL code error is now fixed in SVN, but there is a problem in
gtk# as well:
        internal delegate void PixbufDestroyNotifyNative(byte[] pixels, IntPtr
data);

is missing a MarshalAs attribute on the 'pixels' parameter, so when the
delegate
is called from gdk, the runtime will throw an exception:

System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute
required to marshal arrays to managed code.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list