From: Pierre-Luc Beaudoin Date: Sun, 22 Mar 2009 11:24:53 +0000 (+0200) Subject: Fix Bug 576206: Getter for the properties latitude and longitude returns wrong values X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e79d3e751742edb841b56d28debeb03259c7eb24;p=libchamplain Fix Bug 576206: Getter for the properties latitude and longitude returns wrong values --- diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 168e5e9..1f0ae6e 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -441,10 +441,10 @@ champlain_view_get_property (GObject *object, switch (prop_id) { case PROP_LONGITUDE: - g_value_set_double (value, viewport_get_current_longitude (priv)); + g_value_set_double (value, priv->longitude); break; case PROP_LATITUDE: - g_value_set_double (value, viewport_get_current_latitude (priv)); + g_value_set_double (value, priv->latitude); break; case PROP_ZOOM_LEVEL: g_value_set_int (value, priv->zoom_level);