[pygobject/invoke-rewrite] [gi] use correct union memeber when marshalling floats



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]