#4 Gdk::Pixdata#pixel_data returns too long data

closed-accepted
None
5
2006-04-22
2006-04-20
NISHI Takao
No

I found Gdk::Pixdata#pixel_data returns a pixel_data
with 24bytes garbage.

The gnome2 API reference says,
"GdkPixdata.length means less than 1 to disable length
checks, otherwise GDK_PIXDATA_HEADER_LENGTH + length of
pixel_data.", but in rbgdk-pixdata.c, that is not treated.

The attachemt patch is for fixing that problem.

regards

Discussion

  • Masao Mutoh

    Masao Mutoh - 2006-04-22

    Logged In: YES
    user_id=495147

    Thanks. Applied.

     
  • Masao Mutoh

    Masao Mutoh - 2006-04-22
    • assigned_to: nobody --> mutoh
    • status: open --> closed-accepted
     

Log in to post a comment.