From bef215275c663685fe8a80500247eb3f19c02756 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Mon, 16 Mar 2009 19:07:07 +0100 Subject: [PATCH] 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. --- bindings/perl/Champlain/xs/ChamplainMarker.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5