]> Pileus Git - ~andy/gtk/commitdiff
Fix misleading documentation of rowstride. (#113924, Noah Levitt)
authorMatthias Clasen <maclas@gmx.de>
Sat, 31 May 2003 23:52:49 +0000 (23:52 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 31 May 2003 23:52:49 +0000 (23:52 +0000)
2003-06-01  Matthias Clasen  <maclas@gmx.de>

* gdk-pixdata.h (struct _GdkPixdata): Fix misleading documentation
of rowstride.  (#113924, Noah Levitt)

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixdata.h

index 92e597fe30a17077eb3ff0a8cc07d447ad072aa8..9056d820445ca18121972725acb5acf2faa0996d 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-01  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk-pixdata.h (struct _GdkPixdata): Fix misleading documentation
+       of rowstride.  (#113924, Noah Levitt)
+
 2003-05-27  Matthias Clasen  <maclas@gmx.de>
 
        * io-wbmp.c: Remove dubious bitfields of
index 58b0e226a43ca20da8297aa0c4ef5b387b7bb488..eb85034be597d717e4df9bce9f917ba5c2f7e8f5 100644 (file)
@@ -73,9 +73,9 @@ typedef enum
  *    #GDK_PIXDATA_HEADER_LENGTH + length of @pixel_data. 
  * @pixdata_type: information about colorspace, sample width and 
  *    encoding, in a #GdkPixdataType. 
- * @rowstride: padding used in @pixel_data or 0 to indicate no padding.
- * @width: the width.
- * @height: the height.
+ * @rowstride: Distance in bytes between rows.
+ * @width: Width of the image in pixels.
+ * @height: Height of the image in pixels.
  * @pixel_data: @width x @height pixels, encoded according to @pixdata_type
  *   and @rowstride.
  *
@@ -90,7 +90,7 @@ struct _GdkPixdata
                         * GDK_PIXDATA_HEADER_LENGTH + pixel_data length
                         */
   guint32 pixdata_type; /* GdkPixdataType */
-  guint32 rowstride;    /* maybe 0 to indicate non-padded data */
+  guint32 rowstride;
   guint32 width;
   guint32 height;
   guint8 *pixel_data;