From 73a0c307bdbb913ee1e26f7131e3576cdf16a3c6 Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Fri, 4 Jun 2004 04:13:49 +0000 Subject: [PATCH] 2004-06-02 Vladimir Vukicevic * gdk/Pixbuf.custom : Pixels prop isn't unsafe svn path=/trunk/gtk-sharp/; revision=28812 --- ChangeLog | 4 ++++ gdk/Pixbuf.custom | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 82f9d2987..68e638672 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-06-02 Vladimir Vukicevic + + * gdk/Pixbuf.custom : Pixels prop isn't unsafe + 2004-06-02 Mike Kestner * generator/Field.cs : add field hiding, for manual impl. diff --git a/gdk/Pixbuf.custom b/gdk/Pixbuf.custom index 8f0d1733f..825ca9249 100644 --- a/gdk/Pixbuf.custom +++ b/gdk/Pixbuf.custom @@ -144,7 +144,7 @@ [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_get_pixels(IntPtr raw); - public unsafe IntPtr Pixels { + public IntPtr Pixels { get { IntPtr ret = gdk_pixbuf_get_pixels (Handle); return ret;