The first parameter of gperl_croak_gerror() is not used and is there for
backward compatibility. Usually NULL is passed there.
CODE:
RETVAL = champlain_marker_new_with_image(filename, &error);
if (error) {
- gperl_croak_gerror(filename, error);
+ gperl_croak_gerror(NULL, error);
}
OUTPUT:
RETVAL
CODE:
RETVAL = champlain_marker_new_with_image_full(filename, width, height, anchor_x, anchor_y, &error);
if (error) {
- gperl_croak_gerror(filename, error);
+ gperl_croak_gerror(NULL, error);
}
OUTPUT:
RETVAL