]> err.no Git - libchamplain/commitdiff
Fix Bug 584365: "longitude" and "latitude" properties are reversed
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 31 May 2009 15:31:24 +0000 (11:31 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 31 May 2009 15:31:24 +0000 (11:31 -0400)
champlain/champlain-base-marker.c

index acb3035b403ef80dd5259d3773b61c53b583d957..2a6e626fbe074a0b5dcc9c622348f488f3f71647 100644 (file)
@@ -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: