[grilo] [core] Fixed set_float signature
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] [core] Fixed set_float signature
- Date: Thu, 15 Apr 2010 09:15:18 +0000 (UTC)
commit 005aaf5ea1cbc432bc4ddf97805325dececf9e64
Author: Iago Toral Quiroga <itoral igalia com>
Date: Tue Apr 13 15:45:10 2010 +0200
[core] Fixed set_float signature
src/data/grl-data.c | 2 +-
src/data/grl-data.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/data/grl-data.c b/src/data/grl-data.c
index dc1e4b3..d6fa8dc 100644
--- a/src/data/grl-data.c
+++ b/src/data/grl-data.c
@@ -299,7 +299,7 @@ grl_data_get_int (GrlData *data, GrlKeyID key)
* #overwrite is TRUE, old value is replaced by the new one.
**/
void
-grl_data_set_float (GrlData *data, GrlKeyID key, gint floatvalue)
+grl_data_set_float (GrlData *data, GrlKeyID key, float floatvalue)
{
GValue value = { 0 };
g_value_init (&value, G_TYPE_FLOAT);
diff --git a/src/data/grl-data.h b/src/data/grl-data.h
index 7bd2f4b..8042634 100644
--- a/src/data/grl-data.h
+++ b/src/data/grl-data.h
@@ -97,7 +97,7 @@ void grl_data_set_int (GrlData *data, GrlKeyID key, gint intvalue);
void grl_data_set_float (GrlData *data,
GrlKeyID key,
- gint floatvalue);
+ gfloat floatvalue);
const GValue *grl_data_get (GrlData *data, GrlKeyID key);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]