diff --git a/ChangeLog b/ChangeLog
index 9839d71e3..988886a6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-03-13  Duncan Mak  <duncan@ximian.com>
+
+	* gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that
+	return a 'byte *'.
+
+	* sources/Gdk.metadata:
+	* api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels.
+
 2003-03-10  Miguel de Icaza  <miguel@ximian.com>
 
 	* gtk/Application.cs: Do not allow instances of Application to be
diff --git a/api/gdk-api.xml b/api/gdk-api.xml
index 44e22a1df..f43f00292 100644
--- a/api/gdk-api.xml
+++ b/api/gdk-api.xml
@@ -2518,7 +2518,7 @@
           <parameter type="const-gchar*" name="key"/>
         </parameters>
       </method>
-      <method name="GetPixels" cname="gdk_pixbuf_get_pixels">
+      <method name="GetPixels" cname="gdk_pixbuf_get_pixels" hidden="1">
         <return-type type="guchar*"/>
       </method>
       <method name="GetRowstride" cname="gdk_pixbuf_get_rowstride">
diff --git a/gdk/Pixbuf.custom b/gdk/Pixbuf.custom
index c534f474c..547871833 100644
--- a/gdk/Pixbuf.custom
+++ b/gdk/Pixbuf.custom
@@ -145,3 +145,16 @@
 		public Gdk.Pixbuf CompositeColorSimple(int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, System.Drawing.Color color1, System.Drawing.Color color2) {
 			return CompositeColorSimple (dest_width, dest_height, interp_type, overall_alpha, check_size, (uint) color1.ToArgb (), (uint) color2.ToArgb ());
 		}
+
+//
+// the 'Pixels' property
+//
+		[DllImport("libgdk_pixbuf-2.0-0.dll")]
+		static extern unsafe byte* gdk_pixbuf_get_pixels(IntPtr raw);
+
+                public unsafe byte* Pixels {
+                	get {
+                		byte *ret = gdk_pixbuf_get_pixels (Handle);
+                		return ret;
+                	}
+                }
diff --git a/sources/Gdk.metadata b/sources/Gdk.metadata
index 120adfc4b..d0216b375 100644
--- a/sources/Gdk.metadata
+++ b/sources/Gdk.metadata
@@ -182,4 +182,16 @@
     </attribute>
   </data>
 </rule>
+
+<rule>
+  <class name="GdkPixbuf">
+    <method>GetPixels</method>
+  </class>
+  <data>
+    <attribute target="method">
+      <name>hidden</name>
+      <value>1</value>
+    </attribute>
+  </data>
+</rule>
 </metadata>