static void
champlain_marker_init (ChamplainMarker *champlainMarker)
{
- ChamplainMarkerPrivate *priv = CHAMPLAIN_MARKER_GET_PRIVATE (champlainMarker);
+ //ChamplainMarkerPrivate *priv = CHAMPLAIN_MARKER_GET_PRIVATE (champlainMarker);
}
* Since: 0.2
*/
ClutterActor *
-champlain_marker_new ()
+champlain_marker_new (void)
{
ChamplainMarker *marker;
GType champlain_marker_get_type (void);
-ClutterActor *champlain_marker_new ();
+ClutterActor *champlain_marker_new (void);
void champlain_marker_set_position (ChamplainMarker *marker,
gdouble longitude, gdouble latitude);
#include "champlain-view.h"
+#define DEBUG_FLAG CHAMPLAIN_DEBUG_VIEW
+#include "champlain-debug.h"
+
#include "champlain.h"
#include "champlain-defines.h"
#include "champlain-enum-types.h"
static gdouble
viewport_get_longitude_at (ChamplainViewPrivate *priv, gint x)
{
- gint level;
-
if (!priv->map_source)
return 0.0;
static gdouble
viewport_get_latitude_at (ChamplainViewPrivate *priv, gint y)
{
- gint level;
-
if (!priv->map_source)
return 0.0;
ChamplainViewPrivate *priv = GET_PRIVATE (view);
ChamplainMarkerPrivate *marker_priv = CHAMPLAIN_MARKER_GET_PRIVATE (marker);
- gint level;
gint x, y;
if (priv->map)
gdouble lower, upper;
gboolean center = FALSE;
TidyAdjustment *hadjust, *vadjust;
- gint level;
ChamplainViewPrivate *priv = GET_PRIVATE (view);
break;
case PROP_DECEL_RATE:
{
- gdouble decel;
+ gdouble decel = 0.0;
g_object_get (priv->finger_scroll, "decel-rate", decel, NULL);
g_value_set_double (value, decel);
break;
* Since: 0.4
*/
ClutterActor *
-champlain_view_new ()
+champlain_view_new (void)
{
return g_object_new (CHAMPLAIN_TYPE_VIEW, NULL);
}
g_return_if_fail (CHAMPLAIN_IS_VIEW (view));
gint x, y;
- guint i;
ChamplainViewPrivate *priv = GET_PRIVATE (view);
priv->longitude = longitude;
GType champlain_view_get_type (void);
-ClutterActor *champlain_view_new ();
+ClutterActor *champlain_view_new (void);
void champlain_view_center_on (ChamplainView *view, gdouble latitude, gdouble longitude);