From 1d87f129b70a933fdaccbdf9006fa9e36a0f0969 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Mon, 25 May 2009 22:22:35 -0400 Subject: [PATCH] Get rid of double set of default values --- champlain/champlain-marker.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/champlain/champlain-marker.c b/champlain/champlain-marker.c index 970f050..732ea12 100644 --- a/champlain/champlain-marker.c +++ b/champlain/champlain-marker.c @@ -299,9 +299,6 @@ champlain_marker_class_init (ChamplainMarkerClass *markerClass) g_param_spec_enum ("alignment", "Alignment", "The marker's alignment", PANGO_TYPE_ALIGNMENT, PANGO_ALIGN_LEFT, CHAMPLAIN_PARAM_READWRITE)); - static const ClutterColor color = {50, 50, 50, 255}; - static const ClutterColor text_color = {240, 240, 240, 255}; - /** * ChamplainMarker:color: * @@ -311,7 +308,7 @@ champlain_marker_class_init (ChamplainMarkerClass *markerClass) */ g_object_class_install_property (object_class, PROP_COLOR, clutter_param_spec_color ("color", "Color", "The marker's color", - &color, CHAMPLAIN_PARAM_READWRITE)); + &DEFAULT_COLOR, CHAMPLAIN_PARAM_READWRITE)); /** * ChamplainMarker:text-color: @@ -322,7 +319,7 @@ champlain_marker_class_init (ChamplainMarkerClass *markerClass) */ g_object_class_install_property (object_class, PROP_TEXT_COLOR, clutter_param_spec_color ("text-color", "Text Color", "The marker's text color", - &text_color, CHAMPLAIN_PARAM_READWRITE)); + &DEFAULT_TEXT_COLOR, CHAMPLAIN_PARAM_READWRITE)); /** * ChamplainMarker:font-name: -- 2.39.5