projects
/
gnome.seed
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671ad08
)
Fix enum typing bug from commit cedbd78451
author
Tim Horton
<hortont424@gmail.com>
Sat, 2 Jan 2010 21:43:23 +0000
(16:43 -0500)
committer
Tim Horton
<hortont424@gmail.com>
Sat, 2 Jan 2010 21:43:23 +0000
(16:43 -0500)
A glong/gint mismatch was wreaking havoc on various enums.
It's clear why this was broken; g_value_info_get_value says
that it returns a glong.
libseed/seed-importer.c
patch
|
blob
|
history
diff --git
a/libseed/seed-importer.c
b/libseed/seed-importer.c
index
792aaed
..
8aa193a
100644
(file)
--- a/
libseed/seed-importer.c
+++ b/
libseed/seed-importer.c
@@
-122,7
+122,7
@@
seed_gi_importer_handle_enum (JSContextRef ctx,
JSObjectRef enum_class;
guint num_vals, i, j;
gsize name_len;
- g
long value;
+ g
int value; // TODO: investigate what's up with the glong/gint mystery here
gchar *name;
GIValueInfo *val;