diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tk/tkutil/tkutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c index be8d7b2364..c1c4e3fa78 100644 --- a/ext/tk/tkutil/tkutil.c +++ b/ext/tk/tkutil/tkutil.c @@ -1778,10 +1778,10 @@ Init_tkutil(void) ID_call = rb_intern("call"); /* --------------------- */ - cCB_SUBST = rb_define_class_under(mTK, "CallbackSubst", rb_cData); + cCB_SUBST = rb_define_class_under(mTK, "CallbackSubst", rb_cObject); rb_define_singleton_method(cCB_SUBST, "inspect", cbsubst_inspect, 0); - cSUBST_INFO = rb_define_class_under(cCB_SUBST, "Info", rb_cData); + cSUBST_INFO = rb_define_class_under(cCB_SUBST, "Info", rb_cObject); rb_define_singleton_method(cSUBST_INFO, "inspect", substinfo_inspect, 0); ID_SUBST_INFO = rb_intern("SUBST_INFO"); |