]> err.no Git - libchamplain/commitdiff
Coverage for Champlain::Marker.
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Wed, 29 Jul 2009 19:47:16 +0000 (21:47 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Fri, 31 Jul 2009 21:12:09 +0000 (17:12 -0400)
Add the function:
  - champlain_marker_set_highlight_color

bindings/perl/Champlain/t/ChamplainMarker.t
bindings/perl/Champlain/xs/ChamplainMarker.xs

index 4a1a411ac8c7473833222d2a8e21d3287dab3faa..dec1727e04c59d183bc822614d6f2b254fd9b328 100644 (file)
@@ -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;
 }
 
index 8ecfd91b0e32820223a0f67c492c960aa26bd1cf..a019711998f1225847ab5be868b0470023b7c530 100644 (file)
@@ -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