Skip to content

Pixbuf is broken in 3.1.1 and 3.1.2 #115

Closed

Description

@SingingBush

it used to be that getPixels() in gdkpixbuf/Pixbuf.d returned a pointer. Even the docs for the method say it returns a pointer but yet the current code is returning a string:

public string getPixels()
{
    return Str.toString(gdk_pixbuf_get_pixels(gdkPixbuf));
}

that can't be right. Also the same with getPixelsWithLength() is now returning string instead of char array.

Is there something wrong with the way that GTK is getting wrapped?

Activity

  1. self-assigned this
    on May 20, 2015
  2. MikeWey commented on May 20, 2015

    @MikeWey
    Member

    The wrapper infers is as a sting while that isn't the case.

  3. added a commit that references this issue on May 21, 2015
  4. MikeWey commented on May 25, 2015

    @MikeWey
    Member

    The last two functions are fixed in commit: e17406f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions