From: Masao M. <mu...@us...> - 2006-06-18 13:42:38
|
Update of /cvsroot/ruby-gnome2/ruby-gnome2/glib/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27761/src Modified Files: rbgobj_type.c Log Message: * src/rbgobj_type.c: Fixed a problem when the object which extends Module can't access the instance methods. Reported by Laurent and Bug #1496185. Index: rbgobj_type.c =================================================================== RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/glib/src/rbgobj_type.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- rbgobj_type.c 27 May 2006 07:46:19 -0000 1.60 +++ rbgobj_type.c 18 Jun 2006 13:42:33 -0000 1.61 @@ -56,7 +56,7 @@ if (TYPE(klass) == T_CLASS) { VALUE super; if (FL_TEST(klass, FL_SINGLETON)) { - super = RCLASS(klass)->super; + super = rb_class_real(klass); } else { super = rb_funcall(klass, id_superclass, 0); } |