[gimp] app: gimp_device_info_map_axis(): "value" is a double, not a boolean
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: gimp_device_info_map_axis(): "value" is a double, not a boolean
- Date: Tue, 16 Feb 2010 18:30:17 +0000 (UTC)
commit 7a1b77fb074ac6b9a3ffbee85d74c2953c358243
Author: Michael Natterer <mitch gimp org>
Date: Tue Feb 16 19:29:37 2010 +0100
app: gimp_device_info_map_axis(): "value" is a double, not a boolean
app/widgets/gimpdeviceinfo.c | 2 +-
app/widgets/gimpdeviceinfo.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfo.c b/app/widgets/gimpdeviceinfo.c
index a76b7b8..38a052a 100644
--- a/app/widgets/gimpdeviceinfo.c
+++ b/app/widgets/gimpdeviceinfo.c
@@ -777,7 +777,7 @@ gimp_device_info_get_curve (GimpDeviceInfo *info,
gdouble
gimp_device_info_map_axis (GimpDeviceInfo *info,
GdkAxisUse use,
- gboolean value)
+ gdouble value)
{
GimpCurve *curve;
diff --git a/app/widgets/gimpdeviceinfo.h b/app/widgets/gimpdeviceinfo.h
index 91555d4..76ef200 100644
--- a/app/widgets/gimpdeviceinfo.h
+++ b/app/widgets/gimpdeviceinfo.h
@@ -112,7 +112,7 @@ GimpCurve * gimp_device_info_get_curve (GimpDeviceInfo *info,
GdkAxisUse use);
gdouble gimp_device_info_map_axis (GimpDeviceInfo *info,
GdkAxisUse use,
- gboolean value);
+ gdouble value);
void gimp_device_info_changed (GimpDeviceInfo *info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]