From: Emmanuel Rodriguez Date: Wed, 29 Jul 2009 19:47:16 +0000 (+0200) Subject: Coverage for Champlain::Marker. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2a6a84345a02c3944f1d792a3c8120ebec42675;p=libchamplain Coverage for Champlain::Marker. Add the function: - champlain_marker_set_highlight_color --- diff --git a/bindings/perl/Champlain/t/ChamplainMarker.t b/bindings/perl/Champlain/t/ChamplainMarker.t index 4a1a411..dec1727 100644 --- a/bindings/perl/Champlain/t/ChamplainMarker.t +++ b/bindings/perl/Champlain/t/ChamplainMarker.t @@ -26,6 +26,10 @@ sub tests { test_new_from_file(); test_new_full(); test_new_with_image(); + + # Can't be tested but at least we call it + Champlain::Marker->set_highlight_color(Clutter::Color->new(0xff, 0xff, 0x00)); + return 0; } diff --git a/bindings/perl/Champlain/xs/ChamplainMarker.xs b/bindings/perl/Champlain/xs/ChamplainMarker.xs index 8ecfd91..a019711 100644 --- a/bindings/perl/Champlain/xs/ChamplainMarker.xs +++ b/bindings/perl/Champlain/xs/ChamplainMarker.xs @@ -137,3 +137,8 @@ champlain_marker_get_single_line_mode (ChamplainMarker *marker) gboolean champlain_marker_get_draw_background (ChamplainMarker *marker) + + +void +champlain_marker_set_highlight_color (class, ClutterColor *color); + C_ARGS: color