[pygobject/invoke-rewrite] [gi] use correct union memeber when marshalling floats
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/invoke-rewrite] [gi] use correct union memeber when marshalling floats
- Date: Tue, 18 Jan 2011 16:45:08 +0000 (UTC)
commit f66051380c0432bf142774542ade2144adcd455e
Author: John (J5) Palmieri <johnp redhat com>
Date: Tue Jan 18 11:44:27 2011 -0500
[gi] use correct union memeber when marshalling floats
gi/pygi-argument.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index 3a56023..ec299a1 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -2365,7 +2365,7 @@ _pygi_marshal_in_float (PyGIInvokeState *state,
return FALSE;
}
- (*arg).v_double = double_;
+ (*arg).v_float = double_;
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]