--- gtkmm/ChangeLog	2005-05-01 16:51:28.000000000 +1000
+++ gtkmm.mine/ChangeLog	2005-05-03 02:30:40.000000000 +1000
@@ -1,3 +1,9 @@
+2005-05-03  Michael J M Thomson <mjmt@internode.on.net>
+	* gdk/src/pixbuf.hg:
+        * gdk/src/pixbuf.ccg:
+        Provided member function equivalent of static Gdk::Pixbuf::create_subpixbuf()
+        for convenience. (Bug #302736)
+
 2005-05-01  Murray Cumming <murrayc@murrayc.com>
 
 	* gdk/src/colormap.ccg:
--- gtkmm/gdk/src/pixbuf.ccg	2005-05-03 02:10:35.000000000 +1000
+++ gtkmm.mine/gdk/src/pixbuf.ccg	2005-05-03 02:16:29.000000000 +1000
@@ -69,6 +69,14 @@ Pixbuf::Pixbuf(const Glib::RefPtr<Drawab
       0, src->gobj(), cmap->gobj(), src_x, src_y, dest_x, dest_y, width, height))
 {}
 
+Glib::RefPtr<Pixbuf> Pixbuf::create_subpixbuf(int src_x, int src_y,
+                                              int width, int height) {
+  Glib::RefPtr<Pixbuf> refSubPixbuf = Glib::wrap(
+    gdk_pixbuf_new_subpixbuf(gobj(),
+                             src_x, src_y, width, height));
+  return refSubPixbuf;
+}
+
 Glib::RefPtr<Pixbuf> Pixbuf::create_from_file(const std::string& filename)
 {
   GError* error = 0;
--- gtkmm/gdk/src/pixbuf.hg	2005-05-03 02:04:54.000000000 +1000
+++ gtkmm.mine/gdk/src/pixbuf.hg	2005-05-03 02:16:29.000000000 +1000
@@ -91,6 +91,13 @@ public:
                   int src_x, int src_y, int width, int height),
                gdk_pixbuf_new_subpixbuf)
 
+  /** Creates a new pixbuf which represents a sub-region of
+   *  @a this .
+   * See the static member function create_subpixbuf() for more information.
+   */
+  Glib::RefPtr<Pixbuf> create_subpixbuf(int src_x, int src_y,
+                                        int width, int height);
+
   /** Creates a new pixbuf by loading an image from a file. The file format is detected automatically. 
    * @param filename The path to the pixbuf file.
    * 
