/*
- * $Id: rb_ecore_evas.c 346 2005-06-05 19:43:40Z tilman $
+ * $Id: rb_ecore_evas.c 352 2006-02-10 16:30:18Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
cEcoreEvas = rb_define_class_under (mEvas, "EcoreEvas", rb_cObject);
rb_define_private_method (rb_singleton_class (cEcoreEvas),
- "new", NULL, 0);
+ "new", rb_class_new_instance, -1);
rb_define_method (cEcoreEvas, "initialize", c_init, -1);
rb_define_method (cEcoreEvas, "inspect", c_inspect, 0);
rb_define_method (cEcoreEvas, "delete", c_delete, 0);