[seed] Minor cosmetic improvements to seed-types.c
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Minor cosmetic improvements to seed-types.c
- Date: Fri, 27 Mar 2009 16:29:24 -0400 (EDT)
commit 029ea2977d631294c40295f5c72176888b509f85
Author: Robert Carr <racarr mireia (none)>
Date: Tue Mar 24 23:16:49 2009 -0400
Minor cosmetic improvements to seed-types.c
---
libseed/seed-types.c | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/libseed/seed-types.c b/libseed/seed-types.c
index 2a8a8f0..d2fcba0 100644
--- a/libseed/seed-types.c
+++ b/libseed/seed-types.c
@@ -1068,20 +1068,22 @@ seed_gvalue_from_seed_value (JSContextRef ctx,
if (type == 0 && JSValueIsObject (ctx, val))
{
// TODO: FIXME: Better array test like the cool one on reddit.
- guint length = seed_value_to_int (ctx,
- seed_object_get_property (ctx,
- (JSObjectRef) val,
- "length"),
- exception);
+ guint length =
+ seed_value_to_int (ctx,
+ seed_object_get_property (ctx,
+ (JSObjectRef) val,
+ "length"),
+ exception);
if (length)
{
- type = seed_value_to_int (ctx,
- JSObjectGetPropertyAtIndex (ctx,
- (JSObjectRef)
- val, 0,
- exception),
- exception);
+ type =
+ seed_value_to_int (ctx,
+ JSObjectGetPropertyAtIndex (ctx,
+ (JSObjectRef)
+ val, 0,
+ exception),
+ exception);
val =
JSObjectGetPropertyAtIndex (ctx, (JSObjectRef) val, 1,
exception);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]