From: Emmanuel Rodriguez Date: Mon, 16 Mar 2009 18:07:07 +0000 (+0100) Subject: First argument of gperl_croak_gerror() is now NULL. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef215275c663685fe8a80500247eb3f19c02756;p=libchamplain First argument of gperl_croak_gerror() is now NULL. The first parameter of gperl_croak_gerror() is not used and is there for backward compatibility. Usually NULL is passed there. --- diff --git a/bindings/perl/Champlain/xs/ChamplainMarker.xs b/bindings/perl/Champlain/xs/ChamplainMarker.xs index 54e1b27..5f73d9f 100644 --- a/bindings/perl/Champlain/xs/ChamplainMarker.xs +++ b/bindings/perl/Champlain/xs/ChamplainMarker.xs @@ -27,7 +27,7 @@ champlain_marker_new_with_image (class, gchar *filename) CODE: RETVAL = champlain_marker_new_with_image(filename, &error); if (error) { - gperl_croak_gerror(filename, error); + gperl_croak_gerror(NULL, error); } OUTPUT: RETVAL @@ -40,7 +40,7 @@ champlain_marker_new_with_image_full(class, const gchar *filename, gint width, g 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