From: Pierre-Luc Beaudoin Date: Sun, 31 May 2009 15:31:24 +0000 (-0400) Subject: Fix Bug 584365: "longitude" and "latitude" properties are reversed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f6f4cb97e65873a0a5c34257585958f6d8daf9;p=libchamplain Fix Bug 584365: "longitude" and "latitude" properties are reversed --- diff --git a/champlain/champlain-base-marker.c b/champlain/champlain-base-marker.c index acb3035..2a6e626 100644 --- a/champlain/champlain-base-marker.c +++ b/champlain/champlain-base-marker.c @@ -107,13 +107,13 @@ champlain_base_marker_set_property (GObject *object, case PROP_LONGITUDE: { gdouble lon = g_value_get_double (value); - champlain_base_marker_set_position (base_marker, lon, priv->lat); + champlain_base_marker_set_position (base_marker, priv->lat, lon); break; } case PROP_LATITUDE: { gdouble lat = g_value_get_double (value); - champlain_base_marker_set_position (base_marker, priv->lon, lat); + champlain_base_marker_set_position (base_marker, lat, priv->lon); break; } default: