projects
/
gnome.seed
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d874919
)
Fix Bug #610786 - support for GError types in seed_gi_argument_make_js
author
alan
<alan@alanfast.akbkhome.com>
Wed, 24 Feb 2010 04:49:58 +0000
(12:49 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Wed, 24 Feb 2010 04:49:58 +0000
(12:49 +0800)
Used by gst_message_parse_error() - turns gerror into non-thrown exception
libseed/seed-types.c
patch
|
blob
|
history
diff --git
a/libseed/seed-types.c
b/libseed/seed-types.c
index
e4316bd
..
97f448d
100644
(file)
--- a/
libseed/seed-types.c
+++ b/
libseed/seed-types.c
@@
-923,6
+923,12
@@
seed_gi_argument_make_js (JSContextRef ctx,
}
return ret;
}
+ case GI_TYPE_TAG_ERROR:
+ {
+ JSValueRef ret;
+ seed_make_exception_from_gerror (ctx, &ret, (GError*) arg->v_pointer);
+ return ret;
+ }
default:
return FALSE;