From fb07a428f755a86729628f3aec807c9765383b0b Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 18 Mar 2005 18:49:46 +0000 Subject: [PATCH] Oops, initialize the 'elements' array correctly. --- src/esmart_container/rb_esmart_container.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2