projects
/
ruby-esmart.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops, initialize the 'elements' array correctly.
[ruby-esmart.git]
/
src
/
esmart_container
/
rb_esmart_container.c
diff --git
a/src/esmart_container/rb_esmart_container.c
b/src/esmart_container/rb_esmart_container.c
index 3269c37091bbc8105b5013027a3feca5af5d3211..34c8e260794a15d9d6d8b717cfe58fc7365df8ab 100644
(file)
--- a/
src/esmart_container/rb_esmart_container.c
+++ b/
src/esmart_container/rb_esmart_container.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_esmart_container.c 2
86 2005-03-15 18:05:42
Z tilman $
+ * $Id: rb_esmart_container.c 2
97 2005-03-18 18:49:46
Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
@@
-60,7
+60,7
@@
static VALUE c_new (VALUE klass, VALUE evas)
argv[0] = evas;
rb_obj_call_init (self, 1, argv);
argv[0] = evas;
rb_obj_call_init (self, 1, argv);
-
rb_iv_set (self, "@elements", rb_ary_new ()
);
+
cont->elements = rb_ary_new (
);
return self;
}
return self;
}