From: Masao M. <mu...@us...> - 2006-04-22 15:39:03
|
Update of /cvsroot/ruby-gnome2/ruby-gnome2/gdkpixbuf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15172 Modified Files: ChangeLog rbgdk-pixdata.c Log Message: * rbgdk-pixdata.c: Gdk::Pixdata#length returns the size of pixel_data. (length - GDK_PIXDATA_HEADER_LENGTH). Gdk::Pixdata#pixel_data returns the data size of length - GDK_PIXDATA_HEADER_LENGTH. [Patch#1473708] Index: ChangeLog =================================================================== RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/gdkpixbuf/ChangeLog,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- ChangeLog 22 Apr 2006 15:25:44 -0000 1.61 +++ ChangeLog 22 Apr 2006 15:39:00 -0000 1.62 @@ -3,7 +3,7 @@ * rbgdk-pixdata.c: Gdk::Pixdata#length returns the size of pixel_data. (length - GDK_PIXDATA_HEADER_LENGTH). Gdk::Pixdata#pixel_data returns the data size of length - - GDK_PIXDATA_HEADER_LENGTH. + GDK_PIXDATA_HEADER_LENGTH. [Patch#1473708] 2005-09-24 Guillaume Cottenceau Index: rbgdk-pixdata.c =================================================================== RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/gdkpixbuf/rbgdk-pixdata.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- rbgdk-pixdata.c 22 Apr 2006 15:25:44 -0000 1.6 +++ rbgdk-pixdata.c 22 Apr 2006 15:39:00 -0000 1.7 @@ -127,7 +127,7 @@ { gint32 length = _SELF(self)->length; - if(length>0) + if(length > 0) length -= GDK_PIXDATA_HEADER_LENGTH; return INT2NUM(length); } |