]> err.no Git - libchamplain/commitdiff
new_full() doesn't throw an exception
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 13 Apr 2009 20:09:26 +0000 (22:09 +0200)
committerEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 13 Apr 2009 20:09:26 +0000 (22:09 +0200)
bindings/perl/Champlain/xs/ChamplainMarker.xs

index 8f6a3164cead798521b678789673a2341aae64eb..32bf96bcdd2624cda0491732dc8a4bc6d772adfd 100644 (file)
@@ -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*