From 63afe8792c80f3d73d578143b99585913cb1fdcb Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Mon, 13 Apr 2009 22:09:26 +0200 Subject: [PATCH] new_full() doesn't throw an exception --- bindings/perl/Champlain/xs/ChamplainMarker.xs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bindings/perl/Champlain/xs/ChamplainMarker.xs b/bindings/perl/Champlain/xs/ChamplainMarker.xs index 8f6a316..32bf96b 100644 --- a/bindings/perl/Champlain/xs/ChamplainMarker.xs +++ b/bindings/perl/Champlain/xs/ChamplainMarker.xs @@ -29,15 +29,7 @@ champlain_marker_new_from_file (class, const gchar *filename) ClutterActor* champlain_marker_new_full (class, const gchar *text, ClutterActor_ornull *actor) - PREINIT: - GError *error = NULL; - CODE: - RETVAL = champlain_marker_new_full(text, actor, &error); - if (error) { - gperl_croak_gerror(NULL, error); - } - OUTPUT: - RETVAL + C_ARGS: text, actor ClutterActor* -- 2.39.5