Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 532120
Collapse All | Expand All

(-)qtruby-4.11.4.orig/src/qtruby.cpp (-1 / +4 lines)
Lines 1398-1408 Link Here
1398
		return Qfalse;
1391
		return Qfalse;
1399
	}
1392
	}
1400
1393
1401
#if RUBY_VERSION >= 0x10900
1394
#if RUBY_VERSION >= 0x20000
1395
	QLatin1String signalname(rb_id2name(rb_frame_this_func()));
1396
#elif RUBY_VERSION >= 0x10900
1402
	QLatin1String signalname(rb_id2name(rb_frame_callee()));
1397
	QLatin1String signalname(rb_id2name(rb_frame_callee()));
1403
#else
1398
#else
1404
	QLatin1String signalname(rb_id2name(rb_frame_last_func()));
1399
	QLatin1String signalname(rb_id2name(rb_frame_last_func()));
1405
#endif
1400
#endif
1401
1406
	VALUE metaObject_value = rb_funcall(qt_internal_module, rb_intern("getMetaObject"), 2, Qnil, self);
1402
	VALUE metaObject_value = rb_funcall(qt_internal_module, rb_intern("getMetaObject"), 2, Qnil, self);
1407
1403
1408
	smokeruby_object *ometa = value_obj_info(metaObject_value);
1404
	smokeruby_object *ometa = value_obj_info(metaObject_value);

Return to bug 532120