[libchamplain] Change the precision of marker move to double
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Change the precision of marker move to double
- Date: Wed, 9 Feb 2011 08:39:14 +0000 (UTC)
commit 8966e6114675db66d023841f297bb9eb70e0b703
Author: JiÅ?Ã Techet <techet gmail com>
Date: Wed Feb 2 00:07:37 2011 +0100
Change the precision of marker move to double
champlain/champlain-marker-layer.c | 4 ++--
champlain/champlain-marker.c | 2 +-
champlain/champlain-marshal.list | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-marker-layer.c b/champlain/champlain-marker-layer.c
index 3b3ff28..6e727e2 100644
--- a/champlain/champlain-marker-layer.c
+++ b/champlain/champlain-marker-layer.c
@@ -492,8 +492,8 @@ marker_position_notify (ChamplainMarker *marker,
static void
marker_move_by_cb (ChamplainMarker *marker,
- gfloat dx,
- gfloat dy,
+ gdouble dx,
+ gdouble dy,
ChamplainMarkerLayer *layer)
{
ChamplainMarkerLayerPrivate *priv = layer->priv;
diff --git a/champlain/champlain-marker.c b/champlain/champlain-marker.c
index 90a76ea..67ad7a8 100644
--- a/champlain/champlain-marker.c
+++ b/champlain/champlain-marker.c
@@ -264,7 +264,7 @@ champlain_marker_class_init (ChamplainMarkerClass *marker_class)
signals[MOVE_BY_SIGNAL] =
g_signal_new ("moved", G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
- _champlain_marshal_VOID__FLOAT_FLOAT, G_TYPE_NONE, 2, G_TYPE_FLOAT, G_TYPE_FLOAT);
+ _champlain_marshal_VOID__DOUBLE_DOUBLE, G_TYPE_NONE, 2, G_TYPE_DOUBLE, G_TYPE_DOUBLE);
}
diff --git a/champlain/champlain-marshal.list b/champlain/champlain-marshal.list
index e26b60a..b9b8548 100644
--- a/champlain/champlain-marshal.list
+++ b/champlain/champlain-marshal.list
@@ -1 +1 @@
-VOID:FLOAT,FLOAT
+VOID:DOUBLE,DOUBLE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]