Skip to content

Pixbuf is broken in 3.1.1 and 3.1.2 #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SingingBush opened this issue May 19, 2015 · 2 comments
Closed

Pixbuf is broken in 3.1.1 and 3.1.2 #115

SingingBush opened this issue May 19, 2015 · 2 comments
Assignees
Labels

Comments

@SingingBush
Copy link
Contributor

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?

@MikeWey MikeWey added the Bug label May 20, 2015
@MikeWey MikeWey self-assigned this May 20, 2015
@MikeWey
Copy link
Member

MikeWey commented May 20, 2015

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

MikeWey added a commit that referenced this issue May 21, 2015
Partial fix for #115.
gdkpixbuf.Pixbuf.getData and gtk.SelectionData.getData still return an
array instead of the pointer.
@MikeWey
Copy link
Member

MikeWey commented May 25, 2015

The last two functions are fixed in commit: e17406f

@MikeWey MikeWey closed this as completed May 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants