public this(string filename)
{
GError* err = null;
auto p = gdk_pixbuf_new_from_file(Str.toStringz(filename), &err);
if(p is null)
{
if (err !is null)
{
throw new GException( new ErrorG(err) );
}
throw new ConstructionException("null returned by new_from_file");
}
this(cast(GdkPixbuf*) p, true);
}
The same issue happens in other parts of the same file, maybe also in other files.
https://github.com/gtkd-developers/GtkD/blob/master/src/gdkpixbuf/Pixbuf.d#L344 Should be more like:
The same issue happens in other parts of the same file, maybe also in other files.