[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
Tue Feb 19 15:08:16 EST 2008


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

User rothflorian at gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=362951#c3





--- Comment #3 from Florian Roth <rothflorian at gmx.de>  2008-02-19 13:08:15 MST ---
So I just tried your workaround from #1
This is what I did:

I changed method signature to
public static Gdk.Pixbuf ConvertToPixbuf(Bitmap bmp, out byte[] rgbValues)
and called this function from my code with an byte[] that is an instance value
of the calling instance. I also added an PixbufDestroyNotify delegate to the
ctor call of Pixbuf.
Well, this unfortunately didn't work. The Images still disappear and the
delegate is never called.

I will now try to implement a workaround based on your patch from 2#


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


More information about the mono-bugs mailing list