X-Git-Url: http://git.code-monkey.de/?p=ruby-esmart.git;a=blobdiff_plain;f=src%2Fesmart_container%2Frb_esmart_container.c;h=34c8e260794a15d9d6d8b717cfe58fc7365df8ab;hp=3269c37091bbc8105b5013027a3feca5af5d3211;hb=fb07a428f755a86729628f3aec807c9765383b0b;hpb=d1dbab6affa71d4244e12e7e8e98531d23c573a5 diff --git a/src/esmart_container/rb_esmart_container.c b/src/esmart_container/rb_esmart_container.c index 3269c37..34c8e26 100644 --- 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 286 2005-03-15 18:05:42Z tilman $ + * $Id: rb_esmart_container.c 297 2005-03-18 18:49:46Z tilman $ * * 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); - rb_iv_set (self, "@elements", rb_ary_new ()); + cont->elements = rb_ary_new (); return self; }