summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-02-18 16:28:17 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-18 16:28:17 -0500
commit5aa1e8c8cb1d8dee3c214235634539ccd7eda8fe (patch)
tree3f0b4dc9a9ad64810d8df4ce7d77f9c82303ccfe
parentfa8e95cd172769c337a5945cfaa4f0aeb1d128ca (diff)
downloadgobject-introspection-5aa1e8c8cb1d8dee3c214235634539ccd7eda8fe.tar.gz
sourcescanner: Fix issues with double constants in the copy
-rw-r--r--giscanner/sourcescanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.c b/giscanner/sourcescanner.c
index 339bd897..c14c3449 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);