[gobject-introspection] sourcescanner: Fix issues with double constants in the copy



commit 5aa1e8c8cb1d8dee3c214235634539ccd7eda8fe
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 18 16:28:17 2013 -0500

    sourcescanner: Fix issues with double constants in the copy

 giscanner/sourcescanner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/sourcescanner.c b/giscanner/sourcescanner.c
index 339bd89..c14c344 100644
--- a/giscanner/sourcescanner.c
+++ b/giscanner/sourcescanner.c
@@ -57,7 +57,7 @@ gi_source_symbol_copy (GISourceSymbol * symbol)
   if (symbol->const_int_set)
     new_symbol->const_int = symbol->const_int;
   else if (symbol->const_double_set)
-    new_symbol->const_double = symbol->const_double_set;
+    new_symbol->const_double = symbol->const_double;
   else if (symbol->const_string != NULL)
     new_symbol->const_string = g_strdup (symbol->const_string);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]